super-page-runtime 2.3.37-sit2 → 2.3.37-sit3

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.
Files changed (22) hide show
  1. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +1 -1
  2. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +2 -2
  3. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +1 -1
  4. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +26 -26
  5. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +5 -5
  6. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +7 -7
  7. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +9 -9
  8. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +1 -1
  9. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +4 -4
  10. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +4 -4
  11. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +1 -1
  12. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +9 -9
  13. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +2 -2
  14. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +1 -1
  15. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +31 -31
  16. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +1 -1
  17. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +1 -1
  18. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +5 -5
  19. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +1 -1
  20. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +5 -5
  21. package/dist/es/style.css +71 -71
  22. package/package.json +2 -2
@@ -1,7 +1,7 @@
1
1
  import e from "./column-line-runtime.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = o(e, [["__scopeId", "data-v-3175013a"]]);
4
+ const r = o(e, [["__scopeId", "data-v-24135501"]]);
5
5
  export {
6
6
  r as default
7
7
  };
@@ -26,9 +26,9 @@ const A = e({ __name: "column-line-runtime", props: { pageContext: {}, configure
26
26
  }
27
27
  g(H.configure, Q), o(() => {
28
28
  const e3 = v(H.pageContext, H.configure);
29
- e3 && oe(e3), S.value && (z || Object.keys(B).length > 0) && S.value.chart.on("click", function(e4) {
29
+ e3 && oe(e3), !z && H.configure.clickSet && S.value && m(H.pageContext, H.configure, S.value.chart), S.value && (z || Object.keys(B).length > 0) && S.value.chart.on("click", function(e4) {
30
30
  z ? U.value && U.value.drill && U.value.drill(e4, H.configure.cacheDatas) : Z(e4);
31
- }), !z && H.configure.clickSet && S.value && m(H.pageContext, H.configure, S.value.chart);
31
+ });
32
32
  });
33
33
  let $ = M.groupValue;
34
34
  function ee(e3) {
@@ -1,7 +1,7 @@
1
1
  import e from "./pie-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-6a38f7d4"]]);
4
+ const t = r(e, [["__scopeId", "data-v-15c32b0b"]]);
5
5
  export {
6
6
  t as default
7
7
  };
@@ -1,46 +1,46 @@
1
1
  import { defineComponent as e, ref as r, onMounted as o, watch as t, createElementBlock as a, openBlock as n, normalizeClass as u, normalizeStyle as i, unref as l, withDirectives as c, createVNode as s, vShow as p } from "vue";
2
- import { getCustomTheme as f, initChartOption as g, monitorChartClickToVariable as h, clearChartSelected as m, exportCommonChart as d } from "../../../../utils/charts/chart-util.js";
2
+ import { getCustomTheme as f, initChartOption as g, monitorChartClickToVariable as m, clearChartSelected as h, exportCommonChart as d } from "../../../../utils/charts/chart-util.js";
3
3
  import { updateChartOption as v } from "../../../../utils/charts/chart-pie-util.js";
4
4
  import { doClickJumpPageEvent as x } from "../../../../utils/events/event-util.js";
5
5
  import { getChartDatasFromPage as C, updateChartDatasources as R, monitorFieldChange as j } from "../../../../utils/page-helper-util.js";
6
6
  import k from "../common/common-chart-header.vue.js";
7
- import { use as b } from "echarts/core";
8
- import { CanvasRenderer as y } from "echarts/renderers";
7
+ import { use as y } from "echarts/core";
8
+ import { CanvasRenderer as b } from "echarts/renderers";
9
9
  import { PieChart as D } from "echarts/charts";
10
- import { GridComponent as V, LegendComponent as _, TitleComponent as w, TooltipComponent as I, ToolboxComponent as P } from "echarts/components";
10
+ import { GridComponent as I, LegendComponent as V, TitleComponent as _, TooltipComponent as w, ToolboxComponent as P } from "echarts/components";
11
11
  import E from "vue-echarts";
12
- const A = e({ __name: "pie-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: A2 }) {
13
- b([y, D, V, _, w, I, P]);
14
- const H = e2, O = r(null), S = r(), T = r(null), U = H.configure.props ? H.configure.props.enableDrill : null, z = H.configure.props ? H.configure.props.drillEndTrigger : null, F = H.configure.props ? H.configure.props.linkPage : null, q = H.configure.runtime ? H.configure.runtime : {}, B = q.style, G = q.class, J = q.dataConfig, K = q.headerInfo ? q.headerInfo : {}, L = q.chartOption, M = H.configure.props ? H.configure.props : {}, N = f(M.customTheme);
12
+ const T = e({ __name: "pie-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: T2 }) {
13
+ y([b, D, I, V, _, w, P]);
14
+ const A = e2, H = r(null), O = r(), S = r(null), U = A.configure.props ? A.configure.props.enableDrill : null, z = A.configure.props ? A.configure.props.drillEndTrigger : null, F = A.configure.props ? A.configure.props.linkPage : null, N = A.configure.runtime ? A.configure.runtime : {}, q = N.style, B = N.class, G = N.dataConfig, J = N.headerInfo ? N.headerInfo : {}, K = N.chartOption, L = A.configure.props ? A.configure.props : {}, M = f(L.customTheme);
15
15
  function Q(e3) {
16
- "clearDrill" == z ? T.value && T.value.closeDrill && T.value.closeDrill(0) : "clickEvent" == z && W();
16
+ "clearDrill" == z ? S.value && S.value.closeDrill && S.value.closeDrill(0) : "clickEvent" == z && W(e3);
17
17
  }
18
- function W() {
19
- F && F.jumpPageUrl && x(H.pageContext, H.configure, void 0);
18
+ function W(e3) {
19
+ F && F.jumpPageUrl && (e3.data, e3.dataIndex, e3.name, e3.seriesId, e3.seriesIndex, e3.seriesName, e3.seriesType, e3.value, x(A.pageContext, A.configure, void 0));
20
20
  }
21
- g(H.configure, L), o(() => {
22
- const e3 = C(H.pageContext, H.configure);
23
- e3 && $(e3), S.value && (U || F && F.jumpPageUrl) && S.value.chart.on("click", function(e4) {
24
- U ? T.value && T.value.drill && T.value.drill(e4, H.configure.cacheDatas) : W();
25
- }), !U && H.configure.clickSet && S.value && h(H.pageContext, H.configure, S.value.chart);
21
+ g(A.configure, K), o(() => {
22
+ const e3 = C(A.pageContext, A.configure);
23
+ e3 && $(e3), !U && A.configure.clickSet && O.value && m(A.pageContext, A.configure, O.value.chart), O.value && (U || F && F.jumpPageUrl) && O.value.chart.on("click", function(e4) {
24
+ U ? S.value && S.value.drill && S.value.drill(e4, A.configure.cacheDatas) : W(e4);
25
+ });
26
26
  });
27
- let X = K.groupValue;
27
+ let X = J.groupValue;
28
28
  function Y(e3) {
29
- J && (true !== e3 && (J.autoRefresh = true), R(H.pageContext, [J], K.drillParams));
29
+ G && (true !== e3 && (G.autoRefresh = true), R(A.pageContext, [G], J.drillParams));
30
30
  }
31
- t(K, () => {
32
- X != K.groupValue && (X = K.groupValue, J && (J.services[0].groupValue = K.groupValue), Y(false));
31
+ t(J, () => {
32
+ X != J.groupValue && (X = J.groupValue, G && (G.services[0].groupValue = J.groupValue), Y(false));
33
33
  });
34
- const Z = K.monitorFields;
34
+ const Z = J.monitorFields;
35
35
  function $(e3) {
36
- e3 || (e3 = []), Array.isArray(e3) && (e3 = e3.length > 0 ? e3[0] : {}), e3 || (e3 = {}), e3.hasRender ? e3.hasRender = true : (e3.hasRender = true, J.autoRefresh || (X = e3.groupValue, X && "checkbox" !== K.groupComponent && (X = X.join(",")), K.groupValue = X), J.autoRefresh && U || m(H.pageContext, H.configure, S.value.chart), J.autoRefresh = false, v(H.pageContext, H.configure, L, e3), S.value && S.value.setOption(L, true));
36
+ e3 || (e3 = []), Array.isArray(e3) && (e3 = e3.length > 0 ? e3[0] : {}), e3 || (e3 = {}), e3.hasRender ? e3.hasRender = true : (e3.hasRender = true, G.autoRefresh || (X = e3.groupValue, X && "checkbox" !== J.groupComponent && (X = X.join(",")), J.groupValue = X), G.autoRefresh && U || h(A.pageContext, A.configure, O.value.chart), G.autoRefresh = false, v(A.pageContext, A.configure, K, e3), O.value && O.value.setOption(K, true));
37
37
  }
38
- return j(H.pageContext, Z, () => {
38
+ return j(A.pageContext, Z, () => {
39
39
  Y(true);
40
- }), A2({ updateChartDatas: $, exportChart: function() {
41
- return d(S.value, K);
42
- } }), (e3, r2) => (n(), a("div", { style: i(l(B)), class: u([l(G), "amb-widget-chart amb-widget-flex amb-chart-container"]), ref_key: "thisRef", ref: O }, [c(s(k, { ref_key: "headerRef", ref: T, headerInfo: l(K), configure: e3.configure, pageContext: e3.pageContext, onDrillEnd: Q, class: "amb-chart-header" }, null, 8, ["headerInfo", "configure", "pageContext"]), [[p, l(K).showHeader || e3.pageContext.showHomepageSearch]]), s(l(E), { ref_key: "chartRef", ref: S, class: "amb-chart-content", theme: l(N), option: l(L), autoresize: "" }, null, 8, ["theme", "option"])], 6));
40
+ }), T2({ updateChartDatas: $, exportChart: function() {
41
+ return d(O.value, J);
42
+ } }), (e3, r2) => (n(), a("div", { style: i(l(q)), class: u([l(B), "amb-widget-chart amb-widget-flex amb-chart-container"]), ref_key: "thisRef", ref: H }, [c(s(k, { ref_key: "headerRef", ref: S, headerInfo: l(J), configure: e3.configure, pageContext: e3.pageContext, onDrillEnd: Q, class: "amb-chart-header" }, null, 8, ["headerInfo", "configure", "pageContext"]), [[p, l(J).showHeader || e3.pageContext.showHomepageSearch]]), s(l(E), { ref_key: "chartRef", ref: O, class: "amb-chart-content", theme: l(M), option: l(K), autoresize: "" }, null, 8, ["theme", "option"])], 6));
43
43
  } });
44
44
  export {
45
- A as default
45
+ T as default
46
46
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as e, ref as t, computed as l, onMounted as o, nextTick as n, resolveComponent as a, createBlock as u, openBlock as i, normalizeStyle as r, normalizeClass as s, unref as p, createSlots as c, withCtx as f, createVNode as g, createElementBlock as v, Fragment as d, renderList as m, createElementVNode as h, toDisplayString as y } from "vue";
2
- import { setVariableValue as x, getVariableValue as b, getOptionDatasFromPage as C, monitorFieldChange as k, autoSetAfterSelect as S, queryOptionDatasources as j } from "../../../../utils/page-helper-util.js";
2
+ import { setVariableValue as b, getVariableValue as x, getOptionDatasFromPage as C, monitorFieldChange as k, autoSetAfterSelect as S, queryOptionDatasources as j } from "../../../../utils/page-helper-util.js";
3
3
  import { getFormModelFields as R } from "../../../../utils/page-init-util.js";
4
4
  import { handleFormEvent as _, handleAfterInitEvent as I } from "../../../../utils/events/event-util.js";
5
5
  import { $t as q } from "../../../../utils/i18n-util.js";
@@ -8,10 +8,10 @@ const w = e({ __name: "checkbox-runtime", props: { pageContext: {}, configure: {
8
8
  const z = e2, D = t(null), E = z.pageContext.entity ? z.pageContext.entity : {};
9
9
  let O = R(z.pageContext, z.configure);
10
10
  const A = l({ get() {
11
- let e3 = b(E, O);
11
+ let e3 = x(E, O);
12
12
  return e3 && "string" == typeof e3 && (e3 = e3.split(",")), e3;
13
13
  }, set(e3) {
14
- e3 && e3.length > 0 && (e3 = e3.join(",")), x(E, O, e3), null != e3 && (D.value = "");
14
+ e3 && e3.length > 0 && (e3 = e3.join(",")), b(E, O, e3), null != e3 && (D.value = "");
15
15
  } }), M = z.configure.runtime ? z.configure.runtime : {}, P = M.style, T = M.class, F = M.headerStyle, U = M.titleExceedStyle, W = t(M.props ? M.props : {}), B = t(W.value.options ? W.value.options : []), G = C(z.pageContext, z.configure);
16
16
  G.length > 0 && (B.value = G);
17
17
  const H = z.configure.props && z.configure.props.dataOrigin ? z.configure.props.dataOrigin : {}, J = H.optionValueSetType;
@@ -42,7 +42,7 @@ const w = e({ __name: "checkbox-runtime", props: { pageContext: {}, configure: {
42
42
  D.value = V();
43
43
  }, getSelectItemsTitle: function() {
44
44
  const e3 = function() {
45
- let e4 = b(E, O);
45
+ let e4 = x(E, O);
46
46
  return null != e4 && (e4 = String(e4)), e4;
47
47
  }();
48
48
  if (null != e3 && "" !== e3 && e3.length > 0) {
@@ -56,7 +56,7 @@ const w = e({ __name: "checkbox-runtime", props: { pageContext: {}, configure: {
56
56
  }
57
57
  } }), (e3, t2) => {
58
58
  const l2 = a("el-checkbox"), o2 = a("el-checkbox-group"), n2 = a("el-form-item");
59
- return i(), u(n2, { ref_key: "formItemRef", ref: Q, class: s(p(T) + (D.value ? " " + D.value : "")), required: !!W.value.required, "label-width": W.value.labelWidth, style: r(p(P)) }, c({ default: f(() => [g(o2, { ref_key: "componentRef", ref: X, disabled: "disabled" === W.value.state, size: W.value.size, onChange: W.value.changeMethod, modelValue: A.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => A.value = e4) }, { default: f(() => [(i(true), v(d, null, m(B.value, (t3) => (i(), u(l2, { key: t3.value, value: t3.value, label: t3.label, onClick: (l3) => p(_)(t3.value, e3.pageContext, e3.configure, "click", { values: A.value }) }, null, 8, ["value", "label", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "onChange", "modelValue"])]), _: 2 }, [W.value.tittleShow ? { name: "label", fn: f(() => [h("div", { ref_key: "titleRef", ref: Y, style: r({ ...p(F), ...p(U) }) }, y(p(q)(W.value.title)), 5)]), key: "0" } : void 0]), 1032, ["class", "required", "label-width", "style"]);
59
+ return i(), u(n2, { ref_key: "formItemRef", ref: Q, class: s(p(T) + (D.value ? " " + D.value : "")), required: !!W.value.required, "label-width": W.value.labelWidth, style: r(p(P)) }, c({ default: f(() => [g(o2, { ref_key: "componentRef", ref: X, disabled: "disabled" === W.value.state, size: W.value.size, onChange: W.value.changeMethod, modelValue: A.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => A.value = e4) }, { default: f(() => [(i(true), v(d, null, m(B.value, (t3) => (i(), u(l2, { key: t3.value, value: t3.value, label: t3.label, onClick: (l3) => p(_)(t3.value, e3.pageContext, e3.configure, "click", { values: A.value }) }, null, 8, ["value", "label", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "onChange", "modelValue"])]), _: 2 }, [W.value.tittleShow ? { name: "label", fn: f(() => [h("div", { ref_key: "titleRef", ref: Y, style: r({ ...p(F), ...p(U) }), class: "amb-form-item-label" }, y(p(q)(W.value.title)), 5)]), key: "0" } : void 0]), 1032, ["class", "required", "label-width", "style"]);
60
60
  };
61
61
  } });
62
62
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, computed as t, ref as o, onMounted as n, nextTick as a, onUnmounted as i, resolveComponent as u, createBlock as l, createElementBlock as r, createCommentVNode as s, openBlock as p, normalizeStyle as c, normalizeClass as f, unref as m, createSlots as d, withCtx as g, resolveDynamicComponent as v, createElementVNode as C, toDisplayString as x } from "vue";
1
+ import { defineComponent as e, computed as t, ref as o, onMounted as a, nextTick as n, onUnmounted as i, resolveComponent as u, createBlock as l, createElementBlock as r, createCommentVNode as s, openBlock as p, normalizeStyle as c, normalizeClass as f, unref as m, createSlots as d, withCtx as g, resolveDynamicComponent as v, createElementVNode as C, toDisplayString as x } from "vue";
2
2
  import { getFormModelFields as y } from "../../../../utils/page-init-util.js";
3
3
  import { setVariableValue as b, getVariableValue as h, formatVariableValue as j, getFormPropName as R, setVariableValueWithProp as k } from "../../../../utils/page-helper-util.js";
4
4
  import { handleAfterInitEvent as V, handleEvent as _ } from "../../../../utils/events/event-util.js";
@@ -15,8 +15,8 @@ const $ = { key: 0, style: { width: "100%", height: "100%" } }, O = { key: 1, st
15
15
  } }), A = G.configure.runtime ? G.configure.runtime : {}, B = A.style, W = A.class, J = A.headerStyle, K = o(A.props ? A.props : {}), L = function(e3) {
16
16
  let t2 = {};
17
17
  if (e3) for (let o2 in e3) {
18
- const n2 = e3[o2];
19
- t2[o2] = j(G.pageContext, n2);
18
+ const a2 = e3[o2];
19
+ t2[o2] = j(G.pageContext, a2);
20
20
  }
21
21
  return t2;
22
22
  }(A.customParams ? A.customParams : {}), M = F(G.pageContext), N = o(G.configure.props && G.configure.props.base ? G.configure.props.base.name : null);
@@ -35,16 +35,16 @@ const $ = { key: 0, style: { width: "100%", height: "100%" } }, O = { key: 1, st
35
35
  }
36
36
  G.configure.props.verification.custom && G.configure.props.verification.custom.enabled && (G.pageContext.customValidatorUuids || (G.pageContext.customValidatorUuids = []), G.pageContext.customValidatorUuids.push(G.configure.uuid));
37
37
  const Y = G.pageContext.code, Z = o(P && P.length > 0 ? Y + "__" + P.join("__") : null), ee = o(null), te = o(null), oe = o(null);
38
- function ne(e3) {
38
+ function ae(e3) {
39
39
  _(I.value, G.pageContext, G.configure, e3);
40
40
  }
41
- return n(() => {
41
+ return a(() => {
42
42
  U.$on(Z.value + "-scanDone", (e3) => {
43
43
  const t2 = e3.result;
44
44
  b(H, P, t2);
45
45
  }), U.$on(Z.value + "-pickFileDone", (e3) => {
46
46
  ee.value.pickFileDone(e3);
47
- }), a(() => {
47
+ }), n(() => {
48
48
  const e3 = I.value;
49
49
  V(e3, G.pageContext, G.configure, { formItemRef: te.value, componentRef: ee.value, titleRef: oe.value, value: e3, entity: G.pageContext.entity.data, pageData: G.pageContext.entity.page });
50
50
  });
@@ -61,7 +61,7 @@ const $ = { key: 0, style: { width: "100%", height: "100%" } }, O = { key: 1, st
61
61
  requiredClass.value = addRequiredClassUtil();
62
62
  } }), (e3, t2) => {
63
63
  const o2 = u("el-form-item");
64
- return K.value.tittleShow ? (p(), l(o2, { key: 0, ref_key: "formItemRef", ref: te, required: K.value.required, class: f(m(W)), "label-width": K.value.labelWidth, style: c(m(B)) }, d({ default: g(() => [N.value ? (p(), r("div", $, [(p(), l(v(N.value), { ref_key: "customRef", ref: ee, size: K.value.size, entity: e3.pageContext.entity.data, pageData: e3.pageContext.entity.page, pageContext: e3.pageContext, configureObj: e3.configure, prop: m(R)(e3.configure.props && e3.configure.props.base ? e3.configure.props.base.prop : null), "custom-params": m(L), modelValue: I.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => I.value = e4), disabled: "disabled" === K.value.state, "additional-param-map": m(M), "component-id": Z.value, onSetEntityValue: Q, onSetCustomRules: T, onRestoreGridEdit: X, onHandleEvent: ne, onChange: t2[1] || (t2[1] = (t3) => m(_)(I.value, e3.pageContext, e3.configure, "change")) }, null, 40, ["size", "entity", "pageData", "pageContext", "configureObj", "prop", "custom-params", "modelValue", "disabled", "additional-param-map", "component-id"]))])) : s("", true)]), _: 2 }, [K.value.tittleShow ? { name: "label", fn: g(() => [C("div", { ref_key: "titleRef", ref: oe, style: c({ ...m(J) }) }, x(m(S)(K.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"])) : N.value ? (p(), r("div", O, [(p(), l(v(N.value), { ref_key: "customRef", ref: ee, entity: e3.pageContext.entity.data, pageData: e3.pageContext.entity.page, pageContext: e3.pageContext, configureObj: e3.configure, prop: m(R)(e3.configure.props && e3.configure.props.base ? e3.configure.props.base.prop : null), "custom-params": m(L), modelValue: I.value, "onUpdate:modelValue": t2[2] || (t2[2] = (e4) => I.value = e4), disabled: "disabled" === K.value.state, "additional-param-map": m(M), "component-id": Z.value, onSetEntityValue: Q, onSetCustomRules: T, onRestoreGridEdit: X, onHandleEvent: ne, onChange: t2[3] || (t2[3] = (t3) => m(_)(I.value, e3.pageContext, e3.configure, "change")) }, null, 40, ["entity", "pageData", "pageContext", "configureObj", "prop", "custom-params", "modelValue", "disabled", "additional-param-map", "component-id"]))])) : s("", true);
64
+ return K.value.tittleShow ? (p(), l(o2, { key: 0, ref_key: "formItemRef", ref: te, required: K.value.required, class: f(m(W)), "label-width": K.value.labelWidth, style: c(m(B)) }, d({ default: g(() => [N.value ? (p(), r("div", $, [(p(), l(v(N.value), { ref_key: "customRef", ref: ee, size: K.value.size, entity: e3.pageContext.entity.data, pageData: e3.pageContext.entity.page, pageContext: e3.pageContext, configureObj: e3.configure, prop: m(R)(e3.configure.props && e3.configure.props.base ? e3.configure.props.base.prop : null), "custom-params": m(L), modelValue: I.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => I.value = e4), disabled: "disabled" === K.value.state, "additional-param-map": m(M), "component-id": Z.value, onSetEntityValue: Q, onSetCustomRules: T, onRestoreGridEdit: X, onHandleEvent: ae, onChange: t2[1] || (t2[1] = (t3) => m(_)(I.value, e3.pageContext, e3.configure, "change")) }, null, 40, ["size", "entity", "pageData", "pageContext", "configureObj", "prop", "custom-params", "modelValue", "disabled", "additional-param-map", "component-id"]))])) : s("", true)]), _: 2 }, [K.value.tittleShow ? { name: "label", fn: g(() => [C("div", { ref_key: "titleRef", ref: oe, style: c({ ...m(J) }), class: "amb-form-item-label" }, x(m(S)(K.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"])) : N.value ? (p(), r("div", O, [(p(), l(v(N.value), { ref_key: "customRef", ref: ee, entity: e3.pageContext.entity.data, pageData: e3.pageContext.entity.page, pageContext: e3.pageContext, configureObj: e3.configure, prop: m(R)(e3.configure.props && e3.configure.props.base ? e3.configure.props.base.prop : null), "custom-params": m(L), modelValue: I.value, "onUpdate:modelValue": t2[2] || (t2[2] = (e4) => I.value = e4), disabled: "disabled" === K.value.state, "additional-param-map": m(M), "component-id": Z.value, onSetEntityValue: Q, onSetCustomRules: T, onRestoreGridEdit: X, onHandleEvent: ae, onChange: t2[3] || (t2[3] = (t3) => m(_)(I.value, e3.pageContext, e3.configure, "change")) }, null, 40, ["entity", "pageData", "pageContext", "configureObj", "prop", "custom-params", "modelValue", "disabled", "additional-param-map", "component-id"]))])) : s("", true);
65
65
  };
66
66
  } });
67
67
  export {
@@ -1,8 +1,8 @@
1
- import { defineComponent as e, ref as t, onMounted as l, nextTick as o, computed as n, watch as a, resolveComponent as i, createBlock as p, openBlock as u, normalizeStyle as r, normalizeClass as s, unref as d, createSlots as f, withCtx as m, createVNode as c, createElementVNode as g, createElementBlock as v, Fragment as y, createTextVNode as x, toDisplayString as h } from "vue";
1
+ import { defineComponent as e, ref as t, onMounted as l, nextTick as o, computed as a, watch as n, resolveComponent as i, createBlock as p, openBlock as u, normalizeStyle as r, normalizeClass as s, unref as d, createSlots as m, withCtx as f, createVNode as c, createElementVNode as g, createElementBlock as v, Fragment as y, createTextVNode as x, toDisplayString as h } from "vue";
2
2
  import { getFormModelFields as C } from "../../../../utils/page-init-util.js";
3
- import { handleAfterInitEvent as S, handleFormEvent as F } from "../../../../utils/events/event-util.js";
4
- import I from "../common/title-suffix-element.vue.js";
5
- import { $t as b } from "../../../../utils/i18n-util.js";
3
+ import { handleAfterInitEvent as S, handleFormEvent as b } from "../../../../utils/events/event-util.js";
4
+ import F from "../common/title-suffix-element.vue.js";
5
+ import { $t as I } from "../../../../utils/i18n-util.js";
6
6
  import { setVariableValue as k, getVariableValue as w, getFormPropName as z, getValueFromVariable as R } from "../../../../utils/page-helper-util.js";
7
7
  import { addRequiredClassUtil as j } from "../../../../utils/common-util.js";
8
8
  const _ = e({ __name: "depttree-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: _2 }) {
@@ -16,7 +16,7 @@ const _ = e({ __name: "depttree-runtime", props: { pageContext: {}, configure: {
16
16
  const l2 = e3.match(/\${(.*?)}/);
17
17
  if (!l2) return;
18
18
  const o2 = l2 ? l2[1].split(".") : [];
19
- o2 && o2.length > 0 && a(() => o2.reduce((e4, t3) => e4[t3], T.pageContext.entity), (e4, l3) => {
19
+ o2 && o2.length > 0 && n(() => o2.reduce((e4, t3) => e4[t3], T.pageContext.entity), (e4, l3) => {
20
20
  t2(e4, l3);
21
21
  });
22
22
  }(V.props.deptScopeField, (e3, t2) => {
@@ -29,15 +29,15 @@ const _ = e({ __name: "depttree-runtime", props: { pageContext: {}, configure: {
29
29
  S(e3, T.pageContext, T.configure, { formItemRef: K.value, componentRef: L.value, titleRef: N.value, value: e3, entity: T.pageContext.entity.data, pageData: T.pageContext.entity.page });
30
30
  });
31
31
  });
32
- const P = n({ get: () => w(M, D), set(e3) {
32
+ const P = a({ get: () => w(M, D), set(e3) {
33
33
  k(M, D, e3), null != e3 && (q.value = "");
34
34
  } }), Q = A.value.autoSetFields ? A.value.autoSetFields : [];
35
35
  let U = null;
36
36
  function X(e3, t2) {
37
- U ? U === e3 && (D.length > 0 ? F(w(M, D), T.pageContext, T.configure, "change") : F(t2, T.pageContext, T.configure, "change")) : e3 === E && F(t2, T.pageContext, T.configure, "change");
37
+ U ? U === e3 && (D.length > 0 ? b(w(M, D), T.pageContext, T.configure, "change") : b(t2, T.pageContext, T.configure, "change")) : e3 === E && b(t2, T.pageContext, T.configure, "change");
38
38
  }
39
39
  function Y() {
40
- F(null, T.pageContext, T.configure, "click");
40
+ b(null, T.pageContext, T.configure, "click");
41
41
  }
42
42
  function Z() {
43
43
  const e3 = R(T.pageContext.entity, V.props.deptScopeField);
@@ -47,7 +47,7 @@ const _ = e({ __name: "depttree-runtime", props: { pageContext: {}, configure: {
47
47
  q.value = j();
48
48
  } }), (e3, t2) => {
49
49
  const l2 = i("OrganizationInput"), o2 = i("el-form-item");
50
- return u(), p(o2, { ref_key: "formItemRef", ref: K, required: A.value.required, class: s(d(G) + (q.value ? " " + q.value : "")), "label-width": A.value.labelWidth, style: r(d(B)) }, f({ default: m(() => [c(l2, { ref_key: "componentRef", ref: L, disabled: "disabled" == A.value.state, multiple: A.value.multiple, treeType: A.value.treeType, value: P.value, models: d(O), departmentInfo: W.value, limitFilterColumn: A.value.limitFilterColumn, pageModels: d($), fields: d(Q), inputShowWay: A.value.inputShowWay, autosize: A.value.autosize, size: A.value.size, displayItem: A.value.displayItem, separator: A.value.separator, onSetValue: X, onShowTree: Y }, null, 8, ["disabled", "multiple", "treeType", "value", "models", "departmentInfo", "limitFilterColumn", "pageModels", "fields", "inputShowWay", "autosize", "size", "displayItem", "separator"])]), _: 2 }, [A.value.tittleShow ? { name: "label", fn: m(() => [g("div", { ref_key: "titleRef", ref: N, style: r({ ...d(H), ...d(J) }) }, [A.value.prefixType ? (u(), p(I, { key: 0, pageContext: e3.pageContext, property: A.value }, null, 8, ["pageContext", "property"])) : (u(), v(y, { key: 1 }, [x(h(d(b)(A.value.title)), 1)], 64))], 4)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
50
+ return u(), p(o2, { ref_key: "formItemRef", ref: K, required: A.value.required, class: s(d(G) + (q.value ? " " + q.value : "")), "label-width": A.value.labelWidth, style: r(d(B)) }, m({ default: f(() => [c(l2, { ref_key: "componentRef", ref: L, disabled: "disabled" == A.value.state, multiple: A.value.multiple, treeType: A.value.treeType, value: P.value, models: d(O), departmentInfo: W.value, limitFilterColumn: A.value.limitFilterColumn, pageModels: d($), fields: d(Q), inputShowWay: A.value.inputShowWay, autosize: A.value.autosize, size: A.value.size, displayItem: A.value.displayItem, separator: A.value.separator, onSetValue: X, onShowTree: Y }, null, 8, ["disabled", "multiple", "treeType", "value", "models", "departmentInfo", "limitFilterColumn", "pageModels", "fields", "inputShowWay", "autosize", "size", "displayItem", "separator"])]), _: 2 }, [A.value.tittleShow ? { name: "label", fn: f(() => [g("div", { ref_key: "titleRef", ref: N, style: r({ ...d(H), ...d(J) }), class: "amb-form-item-label" }, [A.value.prefixType ? (u(), p(F, { key: 0, pageContext: e3.pageContext, property: A.value }, null, 8, ["pageContext", "property"])) : (u(), v(y, { key: 1 }, [x(h(d(I)(A.value.title)), 1)], 64))], 4)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
51
51
  };
52
52
  } });
53
53
  export {
@@ -85,7 +85,7 @@ const j = e({ __name: "fileupload-runtime", props: { pageContext: {}, configure:
85
85
  R.value = T();
86
86
  } }), (e3, l2) => {
87
87
  const t2 = n("el-form-item");
88
- return D.value.tittleShow ? (s(), u(t2, { key: 0, ref_key: "formItemRef", ref: ae, required: D.value.required, class: d(f(q) + (R.value ? " " + R.value : "")), "label-width": D.value.labelWidth, style: p(f(O)) }, m({ default: v(() => [M.value ? (s(), u(f(P), { key: 0, ref_key: "fileUploadRef", ref: L, style: { width: "100%" }, disabled: "disabled" === D.value.state, displayType: D.value.displayType, accept: D.value.accept, multiple: D.value.multiple, placeholder: D.value.placeholder, limit: D.value.limit, "limit-file-size": D.value.limitFileSize, "disabled-no-preview": D.value.disabledNoPreview, "disabled-no-download": D.value.disabledNoDownload, openCameraOrChoosePhoto: D.value.openCameraOrChoosePhoto, "sort-type": D.value.sortType, "file-info": V.value, "file-list": Q.value, "system-code": e3.pageContext.systemCode, componentId: J.value, watermark: f(G), "on-success": te, "on-remove": oe, "before-upload": Z, "on-error": le, pageContext: e3.pageContext, "file-show-type": D.value.fileShowType }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "disabled-no-preview", "disabled-no-download", "openCameraOrChoosePhoto", "sort-type", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext", "file-show-type"])) : r("", true)]), _: 2 }, [D.value.tittleShow ? { name: "label", fn: v(() => [c("div", { ref_key: "titleRef", ref: ne, style: p({ ...f(W), ...f($) }) }, g(f(N)(D.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"])) : M.value ? (s(), u(f(P), { key: 1, ref_key: "fileUploadRef", ref: L, style: { width: "100%" }, disabled: "disabled" === D.value.state, displayType: D.value.displayType, accept: D.value.accept, multiple: D.value.multiple, placeholder: D.value.placeholder, limit: D.value.limit, "limit-file-size": D.value.limitFileSize, "disabled-no-preview": D.value.disabledNoPreview, "disabled-no-download": D.value.disabledNoDownload, openCameraOrChoosePhoto: D.value.openCameraOrChoosePhoto, "sort-type": D.value.sortType, "file-info": V.value, "file-list": Q.value, "system-code": e3.pageContext.systemCode, componentId: J.value, watermark: f(G), "on-success": te, "on-remove": oe, "before-upload": Z, "on-error": le, pageContext: e3.pageContext, "file-show-type": D.value.fileShowType }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "disabled-no-preview", "disabled-no-download", "openCameraOrChoosePhoto", "sort-type", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext", "file-show-type"])) : r("", true);
88
+ return D.value.tittleShow ? (s(), u(t2, { key: 0, ref_key: "formItemRef", ref: ae, required: D.value.required, class: d(f(q) + (R.value ? " " + R.value : "")), "label-width": D.value.labelWidth, style: p(f(O)) }, m({ default: v(() => [M.value ? (s(), u(f(P), { key: 0, ref_key: "fileUploadRef", ref: L, style: { width: "100%" }, disabled: "disabled" === D.value.state, displayType: D.value.displayType, accept: D.value.accept, multiple: D.value.multiple, placeholder: D.value.placeholder, limit: D.value.limit, "limit-file-size": D.value.limitFileSize, "disabled-no-preview": D.value.disabledNoPreview, "disabled-no-download": D.value.disabledNoDownload, openCameraOrChoosePhoto: D.value.openCameraOrChoosePhoto, "sort-type": D.value.sortType, "file-info": V.value, "file-list": Q.value, "system-code": e3.pageContext.systemCode, componentId: J.value, watermark: f(G), "on-success": te, "on-remove": oe, "before-upload": Z, "on-error": le, pageContext: e3.pageContext, "file-show-type": D.value.fileShowType }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "disabled-no-preview", "disabled-no-download", "openCameraOrChoosePhoto", "sort-type", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext", "file-show-type"])) : r("", true)]), _: 2 }, [D.value.tittleShow ? { name: "label", fn: v(() => [c("div", { ref_key: "titleRef", ref: ne, style: p({ ...f(W), ...f($) }), class: "amb-form-item-label" }, g(f(N)(D.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"])) : M.value ? (s(), u(f(P), { key: 1, ref_key: "fileUploadRef", ref: L, style: { width: "100%" }, disabled: "disabled" === D.value.state, displayType: D.value.displayType, accept: D.value.accept, multiple: D.value.multiple, placeholder: D.value.placeholder, limit: D.value.limit, "limit-file-size": D.value.limitFileSize, "disabled-no-preview": D.value.disabledNoPreview, "disabled-no-download": D.value.disabledNoDownload, openCameraOrChoosePhoto: D.value.openCameraOrChoosePhoto, "sort-type": D.value.sortType, "file-info": V.value, "file-list": Q.value, "system-code": e3.pageContext.systemCode, componentId: J.value, watermark: f(G), "on-success": te, "on-remove": oe, "before-upload": Z, "on-error": le, pageContext: e3.pageContext, "file-show-type": D.value.fileShowType }, null, 8, ["disabled", "displayType", "accept", "multiple", "placeholder", "limit", "limit-file-size", "disabled-no-preview", "disabled-no-download", "openCameraOrChoosePhoto", "sort-type", "file-info", "file-list", "system-code", "componentId", "watermark", "pageContext", "file-show-type"])) : r("", true);
89
89
  };
90
90
  } });
91
91
  export {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as e, ref as t, computed as l, onMounted as o, nextTick as a, resolveComponent as n, createBlock as u, openBlock as i, normalizeStyle as r, normalizeClass as s, unref as p, createSlots as m, withCtx as f, createVNode as c, createElementVNode as d, createElementBlock as v, Fragment as g, createTextVNode as y, toDisplayString as x } from "vue";
2
2
  import { getFormModelFields as C } from "../../../../utils/page-init-util.js";
3
- import { setVariableValue as h, getVariableValue as b } from "../../../../utils/page-helper-util.js";
3
+ import { setVariableValue as b, getVariableValue as h } from "../../../../utils/page-helper-util.js";
4
4
  import { handleAfterInitEvent as R, handleFormEvent as j } from "../../../../utils/events/event-util.js";
5
5
  import k from "../common/title-suffix-element.vue.js";
6
6
  import { $t as _ } from "../../../../utils/i18n-util.js";
@@ -8,8 +8,8 @@ import { addRequiredClassUtil as q } from "../../../../utils/common-util.js";
8
8
  const w = e({ __name: "input-number-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: w2 }) {
9
9
  const z = e2, S = t(null), V = z.pageContext.entity ? z.pageContext.entity : {};
10
10
  let B = C(z.pageContext, z.configure);
11
- const I = l({ get: () => b(V, B), set(e3) {
12
- h(V, B, e3), null != e3 && (S.value = "");
11
+ const I = l({ get: () => h(V, B), set(e3) {
12
+ b(V, B, e3), null != e3 && (S.value = "");
13
13
  } }), D = z.configure.runtime ? z.configure.runtime : {}, E = D.style, F = D.class, T = D.headerStyle, U = D.titleExceedStyle, W = t(D.props ? D.props : {}), A = t(null), G = t(null), H = t(null);
14
14
  return o(() => {
15
15
  a(() => {
@@ -20,7 +20,7 @@ const w = e({ __name: "input-number-runtime", props: { pageContext: {}, configur
20
20
  S.value = q();
21
21
  } }), (e3, t2) => {
22
22
  const l2 = n("el-input-number"), o2 = n("el-form-item");
23
- return i(), u(o2, { ref_key: "formItemRef", ref: A, required: W.value.required, class: s(p(F) + (S.value ? " " + S.value : "")), "label-width": W.value.labelWidth, style: r(p(E)) }, m({ default: f(() => [c(l2, { ref_key: "componentRef", ref: G, disabled: "disabled" === W.value.state, readonly: "readonly" === W.value.state, controls: W.value.showButton, size: W.value.size, placeholder: W.value.placeholder, modelValue: I.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => I.value = e4), precision: W.value.precision, step: W.value.step, min: W.value.min, max: W.value.max, onChange: t2[1] || (t2[1] = (t3) => p(j)(t3, e3.pageContext, e3.configure, "change")), onBlur: t2[2] || (t2[2] = (t3) => p(j)(t3, e3.pageContext, e3.configure, "blur")), onFocus: t2[3] || (t2[3] = (t3) => p(j)(t3, e3.pageContext, e3.configure, "focus")) }, null, 8, ["disabled", "readonly", "controls", "size", "placeholder", "modelValue", "precision", "step", "min", "max"])]), _: 2 }, [W.value.tittleShow ? { name: "label", fn: f(() => [d("div", { ref_key: "titleRef", ref: H, style: r({ ...p(T), ...p(U) }) }, [W.value.prefixType ? (i(), u(k, { key: 0, pageContext: e3.pageContext, property: W.value }, null, 8, ["pageContext", "property"])) : (i(), v(g, { key: 1 }, [y(x(p(_)(W.value.title)), 1)], 64))], 4)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
23
+ return i(), u(o2, { ref_key: "formItemRef", ref: A, required: W.value.required, class: s(p(F) + (S.value ? " " + S.value : "")), "label-width": W.value.labelWidth, style: r(p(E)) }, m({ default: f(() => [c(l2, { ref_key: "componentRef", ref: G, disabled: "disabled" === W.value.state, readonly: "readonly" === W.value.state, controls: W.value.showButton, size: W.value.size, placeholder: W.value.placeholder, modelValue: I.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => I.value = e4), precision: W.value.precision, step: W.value.step, min: W.value.min, max: W.value.max, onChange: t2[1] || (t2[1] = (t3) => p(j)(t3, e3.pageContext, e3.configure, "change")), onBlur: t2[2] || (t2[2] = (t3) => p(j)(t3, e3.pageContext, e3.configure, "blur")), onFocus: t2[3] || (t2[3] = (t3) => p(j)(t3, e3.pageContext, e3.configure, "focus")) }, null, 8, ["disabled", "readonly", "controls", "size", "placeholder", "modelValue", "precision", "step", "min", "max"])]), _: 2 }, [W.value.tittleShow ? { name: "label", fn: f(() => [d("div", { ref_key: "titleRef", ref: H, style: r({ ...p(T), ...p(U) }), class: "amb-form-item-label" }, [W.value.prefixType ? (i(), u(k, { key: 0, pageContext: e3.pageContext, property: W.value }, null, 8, ["pageContext", "property"])) : (i(), v(g, { key: 1 }, [y(x(p(_)(W.value.title)), 1)], 64))], 4)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
24
24
  };
25
25
  } });
26
26
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as e, ref as t, computed as l, onMounted as n, nextTick as o, onUnmounted as a, watch as u, resolveComponent as i, createBlock as r, openBlock as s, normalizeStyle as p, normalizeClass as c, unref as v, createSlots as f, withCtx as y, createVNode as g, createCommentVNode as m, createTextVNode as d, toDisplayString as x, createElementVNode as C, createElementBlock as I, Fragment as T } from "vue";
1
+ import { defineComponent as e, ref as t, computed as l, onMounted as n, nextTick as o, onUnmounted as a, watch as u, resolveComponent as i, createBlock as r, openBlock as s, normalizeStyle as p, normalizeClass as c, unref as v, createSlots as f, withCtx as m, createVNode as y, createCommentVNode as g, createTextVNode as d, toDisplayString as x, createElementVNode as C, createElementBlock as I, Fragment as T } from "vue";
2
2
  import { SuperIcon as k } from "agilebuilder-ui";
3
3
  import { getFormModelFields as w } 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";
@@ -61,7 +61,7 @@ const L = e({ __name: "inputtext-runtime", props: { pageContext: {}, configure:
61
61
  }
62
62
  else ve.value = true;
63
63
  }
64
- function ye(e3) {
64
+ function me(e3) {
65
65
  ve.value = false, ce(e3);
66
66
  }
67
67
  return L2({ getValue: function() {
@@ -70,10 +70,10 @@ const L = e({ __name: "inputtext-runtime", props: { pageContext: {}, configure:
70
70
  W.value = J();
71
71
  } }), (e3, t2) => {
72
72
  const l2 = i("el-input"), n2 = i("scan-code-input-browser"), o2 = i("el-form-item");
73
- return s(), r(o2, { ref_key: "formItemRef", ref: K, required: !!Z.value.required, class: c(v(re) + (W.value ? " " + W.value : "")), "label-width": Z.value.labelWidth, style: p(v(ie)) }, f({ default: y(() => [g(l2, { 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: $.value, modelValue: G.value, "onUpdate:modelValue": t2[5] || (t2[5] = (e4) => G.value = e4), onInput: t2[6] || (t2[6] = (t3) => v(S)(t3, e3.pageContext, e3.configure, "input")), onChange: t2[7] || (t2[7] = (t3) => v(S)(t3, e3.pageContext, e3.configure, "change")), onBlur: t2[8] || (t2[8] = (e4) => function(e5) {
73
+ return s(), r(o2, { ref_key: "formItemRef", ref: K, required: !!Z.value.required, class: c(v(re) + (W.value ? " " + W.value : "")), "label-width": Z.value.labelWidth, style: p(v(ie)) }, f({ default: m(() => [y(l2, { 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: $.value, modelValue: G.value, "onUpdate:modelValue": t2[5] || (t2[5] = (e4) => G.value = e4), onInput: t2[6] || (t2[6] = (t3) => v(S)(t3, e3.pageContext, e3.configure, "input")), onChange: t2[7] || (t2[7] = (t3) => v(S)(t3, e3.pageContext, e3.configure, "change")), onBlur: t2[8] || (t2[8] = (e4) => function(e5) {
74
74
  let t3 = _(F, A);
75
75
  null != t3 && (t3 = t3.trim()), b(F, A, t3), S(e5, B.pageContext, B.configure, "blur");
76
- }(e4)), onFocus: t2[9] || (t2[9] = (t3) => v(S)(t3, e3.pageContext, e3.configure, "focus")), onClick: t2[10] || (t2[10] = (t3) => v(S)(t3, e3.pageContext, e3.configure, "click")), onClear: t2[11] || (t2[11] = (t3) => v(S)(t3, e3.pageContext, e3.configure, "clear")) }, f({ _: 2 }, ["outer" != Z.value.iconPosition && (Z.value.preIconType && Z.value.preIconValue || Z.value.preText) ? { name: "prefix", fn: y(() => [Z.value.preIconType && Z.value.preIconValue ? (s(), r(v(k), { key: 0, style: { cursor: "pointer" }, iconType: Z.value.preIconType, iconValue: Z.value.preIconValue, onClick: t2[0] || (t2[0] = (t3) => v(R)(G.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : m("", true), d(" " + x(v(z)(Z.value.preText)), 1)]), key: "0" } : void 0, "outer" == Z.value.iconPosition && (Z.value.preIconType && Z.value.preIconValue || Z.value.preText) ? { name: "prepend", fn: y(() => [Z.value.preIconType && Z.value.preIconValue ? (s(), r(v(k), { key: 0, style: { cursor: "pointer" }, iconType: Z.value.preIconType, iconValue: Z.value.preIconValue, onClick: t2[1] || (t2[1] = (t3) => v(R)(G.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : m("", true), d(" " + x(v(z)(Z.value.preText)), 1)]), key: "1" } : void 0, "outer" != Z.value.iconPosition && (Z.value.sufIconType && Z.value.sufIconValue || Z.value.sufText) ? { name: "suffix", fn: y(() => [Z.value.sufIconType && Z.value.sufIconValue ? (s(), r(v(k), { key: 0, style: { cursor: "pointer" }, iconType: Z.value.sufIconType, iconValue: Z.value.sufIconValue, onClick: t2[2] || (t2[2] = (t3) => v(R)(G.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : m("", true), d(" " + x(v(z)(Z.value.sufText)), 1)]), key: "2" } : void 0, ae.value || "outer" == Z.value.iconPosition && (Z.value.sufIconType && Z.value.sufIconValue || Z.value.sufText) ? { name: "append", fn: y(() => [ae.value ? (s(), r(v(k), { key: 0, style: { cursor: "pointer" }, iconValue: "fa-barcode", onClick: t2[3] || (t2[3] = (e4) => fe()) })) : m("", true), Z.value.sufIconType && Z.value.sufIconValue ? (s(), r(v(k), { key: 1, style: { cursor: "pointer" }, iconType: Z.value.sufIconType, iconValue: Z.value.sufIconValue, onClick: t2[4] || (t2[4] = (t3) => v(R)(G.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : m("", true), d(" " + x(v(z)(Z.value.sufText)), 1)]), key: "3" } : void 0]), 1032, ["disabled", "readonly", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "type", "modelValue"]), ve.value ? (s(), r(n2, { key: 0, onClose: ye })) : m("", true)]), _: 2 }, [Z.value.tittleShow ? { name: "label", fn: y(() => [C("div", { ref_key: "titleRef", ref: X, style: p({ ...v(se), ...v(pe) }) }, [Z.value.prefixType ? (s(), r(D, { key: 0, pageContext: e3.pageContext, property: Z.value }, null, 8, ["pageContext", "property"])) : (s(), I(T, { key: 1 }, [d(x(v(z)(Z.value.title)), 1)], 64))], 4)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
76
+ }(e4)), onFocus: t2[9] || (t2[9] = (t3) => v(S)(t3, e3.pageContext, e3.configure, "focus")), onClick: t2[10] || (t2[10] = (t3) => v(S)(t3, e3.pageContext, e3.configure, "click")), onClear: t2[11] || (t2[11] = (t3) => v(S)(t3, e3.pageContext, e3.configure, "clear")) }, f({ _: 2 }, ["outer" != Z.value.iconPosition && (Z.value.preIconType && Z.value.preIconValue || Z.value.preText) ? { name: "prefix", fn: m(() => [Z.value.preIconType && Z.value.preIconValue ? (s(), r(v(k), { key: 0, style: { cursor: "pointer" }, iconType: Z.value.preIconType, iconValue: Z.value.preIconValue, onClick: t2[0] || (t2[0] = (t3) => v(R)(G.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(z)(Z.value.preText)), 1)]), key: "0" } : void 0, "outer" == Z.value.iconPosition && (Z.value.preIconType && Z.value.preIconValue || Z.value.preText) ? { name: "prepend", fn: m(() => [Z.value.preIconType && Z.value.preIconValue ? (s(), r(v(k), { key: 0, style: { cursor: "pointer" }, iconType: Z.value.preIconType, iconValue: Z.value.preIconValue, onClick: t2[1] || (t2[1] = (t3) => v(R)(G.value, e3.pageContext, e3.configure, "prefixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(z)(Z.value.preText)), 1)]), key: "1" } : void 0, "outer" != Z.value.iconPosition && (Z.value.sufIconType && Z.value.sufIconValue || Z.value.sufText) ? { name: "suffix", fn: m(() => [Z.value.sufIconType && Z.value.sufIconValue ? (s(), r(v(k), { key: 0, style: { cursor: "pointer" }, iconType: Z.value.sufIconType, iconValue: Z.value.sufIconValue, onClick: t2[2] || (t2[2] = (t3) => v(R)(G.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(z)(Z.value.sufText)), 1)]), key: "2" } : void 0, ae.value || "outer" == Z.value.iconPosition && (Z.value.sufIconType && Z.value.sufIconValue || Z.value.sufText) ? { name: "append", fn: m(() => [ae.value ? (s(), r(v(k), { key: 0, style: { cursor: "pointer" }, iconValue: "fa-barcode", onClick: t2[3] || (t2[3] = (e4) => fe()) })) : g("", true), Z.value.sufIconType && Z.value.sufIconValue ? (s(), r(v(k), { key: 1, style: { cursor: "pointer" }, iconType: Z.value.sufIconType, iconValue: Z.value.sufIconValue, onClick: t2[4] || (t2[4] = (t3) => v(R)(G.value, e3.pageContext, e3.configure, "suffixClick")) }, null, 8, ["iconType", "iconValue"])) : g("", true), d(" " + x(v(z)(Z.value.sufText)), 1)]), key: "3" } : void 0]), 1032, ["disabled", "readonly", "size", "clearable", "placeholder", "maxlength", "show-word-limit", "type", "modelValue"]), ve.value ? (s(), r(n2, { key: 0, onClose: me })) : g("", true)]), _: 2 }, [Z.value.tittleShow ? { name: "label", fn: m(() => [C("div", { ref_key: "titleRef", ref: X, class: "amb-form-item-label", style: p({ ...v(se), ...v(pe) }) }, [Z.value.prefixType ? (s(), r(D, { key: 0, pageContext: e3.pageContext, property: Z.value }, null, 8, ["pageContext", "property"])) : (s(), I(T, { key: 1 }, [d(x(v(z)(Z.value.title)), 1)], 64))], 4)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
77
77
  };
78
78
  } });
79
79
  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-8357ca43"]]);
4
+ const t = r(e, [["__scopeId", "data-v-40f0b5f4"]]);
5
5
  export {
6
6
  t as default
7
7
  };
@@ -1,18 +1,18 @@
1
- import { defineComponent as e, ref as t, computed as l, onMounted as i, nextTick as n, resolveComponent as a, createBlock as u, openBlock as o, normalizeStyle as r, normalizeClass as p, unref as s, createSlots as f, withCtx as c, createVNode as d, createCommentVNode as g, createTextVNode as m, toDisplayString as v, createElementVNode as y } from "vue";
2
- import { getFormModelFields as k } from "../../../../utils/page-init-util.js";
3
- import { getVariableValue as x } from "../../../../utils/page-helper-util.js";
4
- import { handleAfterInitEvent as b, handleEvent as C } from "../../../../utils/events/event-util.js";
1
+ import { defineComponent as e, ref as t, computed as l, onMounted as i, nextTick as n, resolveComponent as a, createBlock as u, openBlock as o, normalizeStyle as r, normalizeClass as s, unref as p, createSlots as f, withCtx as c, createVNode as m, createCommentVNode as d, createTextVNode as g, 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 = k(T2.pageContext, T2.configure), w = T2.configure.runtime ? T2.configure.runtime : {}, V = w.style, I = w.class, P = w.headerStyle, S = t(w.props ? w.props : {}), $ = t();
10
+ const T2 = e2, j = b(T2.pageContext, T2.configure), w = T2.configure.runtime ? T2.configure.runtime : {}, V = w.style, I = w.class, P = w.headerStyle, S = t(w.props ? w.props : {}), $ = t();
11
11
  ((_a = T2.configure.props) == null ? void 0 : _a.linkPage) && ($.value = T2.configure.props.linkPage);
12
12
  let q = S.value.formatting;
13
13
  const D = T2.pageContext.entity ? T2.pageContext.entity : {}, J = l(() => {
14
14
  var _a2;
15
- let e3 = x(D, j);
15
+ let e3 = k(D, j);
16
16
  if (e3 = null == e3 || null == e3 ? "" : e3, q) e3 = q.replace(/\${value}/g, e3);
17
17
  else if ($.value && $.value.displayTextJudge && ((_a2 = $.value.dynamicTags) == null ? void 0 : _a2.length) > 0) {
18
18
  const e4 = R($.value.dynamicTags.join("-#-#"), D.data, D.request, D.context, T2.pageContext);
@@ -22,18 +22,18 @@ const T = e({ __name: "link-runtime", props: { pageContext: {}, configure: {} },
22
22
  });
23
23
  let W = S.value.tooltip, z = null;
24
24
  W && (z = l(() => {
25
- let e3 = x(D, j);
25
+ let e3 = k(D, j);
26
26
  return e3 = null == e3 || null == e3 ? "" : e3, W.replace(/\${value}/g, e3);
27
27
  }));
28
28
  const A = t(null), B = t(null), E = t(null);
29
29
  return i(() => {
30
30
  n(() => {
31
31
  const e3 = J.value;
32
- b(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 });
32
+ 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
33
  });
34
34
  }), (e3, t2) => {
35
35
  const l2 = a("el-link"), i2 = a("el-tooltip"), n2 = a("el-form-item");
36
- return o(), u(n2, { ref_key: "formItemRef", ref: A, class: p(s(I)), "label-width": S.value.labelWidth, style: r(s(V)) }, f({ default: c(() => [d(i2, { disabled: !s(z), content: s(z) }, { default: c(() => [d(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) => s(C)(t3, e3.pageContext, e3.configure, "click", { skipValidate: true })) }, { default: c(() => [$.value ? (o(), u(s(h), { key: 0, iconType: $.value.iconType, iconValue: $.value.icon }, null, 8, ["iconType", "iconValue"])) : g("", true), m(" " + v(J.value), 1)]), _: 1 }, 8, ["disabled", "type", "underline"])]), _: 1 }, 8, ["disabled", "content"])]), _: 2 }, [S.value.tittleShow ? { name: "label", fn: c(() => [y("div", { ref_key: "titleRef", ref: E, style: r({ ...s(P) }) }, v(s(_)(S.value.title)), 5)]), key: "0" } : void 0]), 1032, ["class", "label-width", "style"]);
36
+ return o(), u(n2, { ref_key: "formItemRef", ref: A, class: s(p(I)), "label-width": S.value.labelWidth, style: r(p(V)) }, f({ default: c(() => [m(i2, { disabled: !p(z), content: p(z) }, { default: c(() => [m(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: c(() => [$.value ? (o(), u(p(h), { key: 0, iconType: $.value.iconType, iconValue: $.value.icon }, null, 8, ["iconType", "iconValue"])) : d("", true), g(" " + v(J.value), 1)]), _: 1 }, 8, ["disabled", "type", "underline"])]), _: 1 }, 8, ["disabled", "content"])]), _: 2 }, [S.value.tittleShow ? { name: "label", fn: c(() => [y("div", { ref_key: "titleRef", ref: E, style: r({ ...p(P) }), class: "amb-form-item-label" }, v(p(_)(S.value.title)), 5)]), key: "0" } : void 0]), 1032, ["class", "label-width", "style"]);
37
37
  };
38
38
  } });
39
39
  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 y, createTextVNode as b, toDisplayString as C, createElementVNode as x } from "vue";
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";
@@ -74,7 +74,7 @@ const z = e({ __name: "radio-runtime", props: { pageContext: {}, configure: {} }
74
74
  }
75
75
  } }), (e3, t2) => {
76
76
  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, y(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(() => [b(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) }) }, C(c(V)(B.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
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, 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
78
  };
79
79
  } });
80
80
  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-9fec556f"]]);
5
+ const r = e(t, [["__scopeId", "data-v-faf97d0c"]]);
6
6
  export {
7
7
  r as default
8
8
  };
@@ -1,4 +1,4 @@
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";
1
+ import { defineComponent as e, ref as t, watch as l, onMounted as n, 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
3
  import { getSizeConfig as k, formatVariableValue as w, 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";
@@ -17,7 +17,7 @@ const R = { class: "toolbar-right-btns" }, _ = ["title"], j = { class: "richtext
17
17
  let ee = k(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 = w(P.pageContext, te), le = t(null);
20
+ const le = w(P.pageContext, te), ne = 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;
@@ -29,11 +29,11 @@ const R = { class: "toolbar-right-btns" }, _ = ["title"], j = { class: "richtext
29
29
  if (!(oe == null ? void 0 : oe.container)) return;
30
30
  const e3 = oe.container.parentNode;
31
31
  if (!e3) return;
32
- const t2 = e3.getBoundingClientRect(), n2 = oe.container.getBoundingClientRect();
33
- let l2 = t2.height - (n2.top - t2.top);
34
- l2 -= 24, oe.container.style.height = Math.max(l2, 100) + "px";
32
+ const t2 = e3.getBoundingClientRect(), l2 = oe.container.getBoundingClientRect();
33
+ let n2 = t2.height - (l2.top - t2.top);
34
+ n2 -= 24, oe.container.style.height = Math.max(n2, 100) + "px";
35
35
  }
36
- n(Z.value, () => {
36
+ l(Z.value, () => {
37
37
  const e3 = Z.value.state;
38
38
  if (null != e3 && e3 !== de) {
39
39
  de = e3;
@@ -51,12 +51,12 @@ 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 = we(t4), l2 = P.pageContext.backendUrl;
55
- return `<img src="${L(l2, P.pageContext.isTest)}/common/fs-upload/download?serverPath=${n3}&isShowWatermark=false" data-uuid="${n3}"`;
54
+ const l3 = we(t4), n2 = P.pageContext.backendUrl;
55
+ return `<img src="${L(n2, P.pageContext.isTest)}/common/fs-upload/download?serverPath=${l3}&isShowWatermark=false" data-uuid="${l3}"`;
56
56
  });
57
57
  return t3 = t3.replace(/\t/g, "    "), t3 = t3.replace(/ {2}/g, "  "), t3;
58
- }(e3), n2 = oe.clipboard.convertHTML(t2);
59
- oe.setContents(n2.ops), o(() => {
58
+ }(e3), l2 = oe.clipboard.convertHTML(t2);
59
+ oe.setContents(l2.ops), o(() => {
60
60
  if (!oe) return;
61
61
  oe.root.querySelectorAll("img").forEach((e4) => {
62
62
  if (!e4.getAttribute("data-uuid")) {
@@ -90,7 +90,7 @@ const R = { class: "toolbar-right-btns" }, _ = ["title"], j = { class: "richtext
90
90
  }
91
91
  function He(e3) {
92
92
  var _a;
93
- oe && (null !== e3.relatedTarget && ((_a = le.value) == null ? void 0 : _a.contains(e3.relatedTarget)) || S(oe.root.innerHTML, P.pageContext, P.configure, "change", { entity: I }));
93
+ oe && (null !== e3.relatedTarget && ((_a = ne.value) == null ? void 0 : _a.contains(e3.relatedTarget)) || S(oe.root.innerHTML, P.pageContext, P.configure, "change", { entity: I }));
94
94
  }
95
95
  function Me(e3) {
96
96
  if ("img" === e3.target.localName) {
@@ -102,45 +102,45 @@ const R = { class: "toolbar-right-btns" }, _ = ["title"], j = { class: "richtext
102
102
  function Ne(e3) {
103
103
  const t2 = new FormData();
104
104
  t2.append("file", e3);
105
- const n2 = P.pageContext.backendUrl, l2 = L(n2, P.pageContext.isTest);
106
- return E.post(l2 + "/common/fs-upload/rich-editor-image", t2, { headers: { "Content-Type": "multipart/form-data" } });
105
+ const l2 = P.pageContext.backendUrl, n2 = L(l2, P.pageContext.isTest);
106
+ return E.post(n2 + "/common/fs-upload/rich-editor-image", t2, { headers: { "Content-Type": "multipart/form-data" } });
107
107
  }
108
108
  function Re(e3, t2) {
109
- const n2 = e3.split(","), l2 = n2[0].match(/:(.*?);/), o2 = l2 ? l2[1] : "image/png", i2 = atob(n2[1]);
109
+ const l2 = e3.split(","), n2 = l2[0].match(/:(.*?);/), o2 = n2 ? n2[1] : "image/png", i2 = atob(l2[1]);
110
110
  let a2 = i2.length;
111
111
  const r2 = new Uint8Array(a2);
112
112
  for (; a2--; ) r2[a2] = i2.charCodeAt(a2);
113
113
  return new File([r2], t2, { type: o2 });
114
114
  }
115
- return l(() => {
115
+ return n(() => {
116
116
  var _a;
117
- le.value && (oe = new M(le.value, me.value), oe.root.style.fontSize = "16px", function() {
117
+ ne.value && (oe = new M(ne.value, me.value), oe.root.style.fontSize = "16px", function() {
118
118
  var _a2, _b;
119
- const e3 = (_b = (_a2 = le.value) == null ? void 0 : _a2.parentElement) == null ? void 0 : _b.querySelector(".ql-toolbar");
119
+ const e3 = (_b = (_a2 = ne.value) == null ? void 0 : _a2.parentElement) == null ? void 0 : _b.querySelector(".ql-toolbar");
120
120
  if (!e3) return;
121
121
  e3.querySelectorAll("button").forEach((e4) => {
122
122
  const t2 = e4.className.match(/ql-([\w-]+)/);
123
123
  if (t2) {
124
- const n2 = t2[1], l2 = `${n2}[value="${e4.value}"]`;
125
- qe[l2] ? e4.setAttribute("data-tooltip", qe[l2]) : qe[n2] && e4.setAttribute("data-tooltip", qe[n2]);
124
+ const l2 = t2[1], n2 = `${l2}[value="${e4.value}"]`;
125
+ qe[n2] ? e4.setAttribute("data-tooltip", qe[n2]) : qe[l2] && e4.setAttribute("data-tooltip", qe[l2]);
126
126
  }
127
127
  }), e3.querySelectorAll(".ql-picker").forEach((e4) => {
128
128
  const t2 = e4.className.match(/ql-(\w+)/);
129
129
  if (t2) {
130
- const n2 = t2[1];
131
- if (qe[n2]) {
130
+ const l2 = t2[1];
131
+ if (qe[l2]) {
132
132
  const t3 = e4.querySelector(".ql-picker-label");
133
- t3 && t3.setAttribute("data-tooltip", qe[n2]);
133
+ t3 && t3.setAttribute("data-tooltip", qe[l2]);
134
134
  }
135
135
  }
136
136
  });
137
137
  }(), function() {
138
138
  var _a2, _b;
139
- const e3 = (_b = (_a2 = le.value) == null ? void 0 : _a2.parentElement) == null ? void 0 : _b.querySelector(".ql-toolbar");
139
+ const e3 = (_b = (_a2 = ne.value) == null ? void 0 : _a2.parentElement) == null ? void 0 : _b.querySelector(".ql-toolbar");
140
140
  e3 && e3.addEventListener("mousedown", (e4) => {
141
141
  e4.preventDefault();
142
142
  });
143
- }(), Ce(ne), (_a = le.value) == null ? void 0 : _a.addEventListener("focusout", He), oe.on("text-change", async function(e3) {
143
+ }(), Ce(le), (_a = ne.value) == null ? void 0 : _a.addEventListener("focusout", He), oe.on("text-change", async function(e3) {
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")) {
@@ -154,10 +154,10 @@ const R = { class: "toolbar-right-btns" }, _ = ["title"], j = { class: "richtext
154
154
  if (!t4.startsWith("data:image")) continue;
155
155
  try {
156
156
  re.value = true;
157
- const e5 = Re(t4, "image.png"), n2 = await Ne(e5);
157
+ const e5 = Re(t4, "image.png"), l2 = await Ne(e5);
158
158
  if (!oe) return;
159
- const l2 = oe.root.getElementsByTagName("img");
160
- for (const e6 of l2) e6.src === t4 && (e6.width = 300, e6.src = n2.url, e6.setAttribute("data-uuid", n2.uuid));
159
+ const n2 = oe.root.getElementsByTagName("img");
160
+ for (const e6 of n2) e6.src === t4 && (e6.width = 300, e6.src = l2.url, e6.setAttribute("data-uuid", l2.uuid));
161
161
  } catch (e5) {
162
162
  Ae();
163
163
  } finally {
@@ -177,10 +177,10 @@ const R = { class: "toolbar-right-btns" }, _ = ["title"], j = { class: "richtext
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
- }), l(() => {
180
+ }), n(() => {
181
181
  document.addEventListener("keydown", Le);
182
182
  }), i(() => {
183
- document.removeEventListener("keydown", Le), ce && clearTimeout(ce), le.value && le.value.removeEventListener("focusout", He), ke && ke.removeEventListener("click", Me);
183
+ document.removeEventListener("keydown", Le), ce && clearTimeout(ce), ne.value && ne.value.removeEventListener("focusout", He), ke && ke.removeEventListener("click", Me);
184
184
  }), B2({ addRequiredClass: function() {
185
185
  G.value = H();
186
186
  }, setContent: function(e3) {
@@ -188,8 +188,8 @@ 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"), k2 = a("el-image-viewer"), w2 = 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) }) }, y(v(A)(Z.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]), he.value ? (u(), d(k2, { key: 0, "hide-on-click-modal": "", onClose: t2[0] || (t2[0] = () => {
191
+ const l2 = a("View"), n2 = a("el-icon"), o2 = a("FullScreen"), i2 = a("Close"), x2 = a("el-form-item"), k2 = a("el-image-viewer"), w2 = 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: ne, style: { width: "100%" } }, null, 512), b("div", R, [b("button", { type: "button", class: "toolbar-btn", onClick: Se, title: "预览" }, [c(n2, null, { default: h(() => [c(l2)]), _: 1 })]), b("button", { type: "button", class: "toolbar-btn", onClick: Te, title: ie.value ? "退出全屏" : "全屏编辑" }, [ie.value ? (u(), d(n2, { key: 1 }, { default: h(() => [c(i2)]), _: 1 })) : (u(), d(n2, { 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(k2, { key: 0, "hide-on-click-modal": "", onClose: t2[0] || (t2[0] = () => {
193
193
  he.value = false;
194
194
  }), "url-list": ge.value }, null, 8, ["url-list"])) : p("", true), c(w2, { 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
  };
@@ -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-5193e959"]]);
4
+ const r = t(e, [["__scopeId", "data-v-f0e9b5f0"]]);
5
5
  export {
6
6
  r as default
7
7
  };
@@ -147,7 +147,7 @@ const B = { style: { "padding-left": "5px" } }, F = { style: { width: "100%", di
147
147
  } }), (e3, l2) => {
148
148
  const t2 = r("el-icon"), o2 = r("el-option"), a2 = r("el-select"), i2 = r("el-popover"), n2 = r("el-form-item");
149
149
  return s(), u(n2, { ref_key: "formItemRef", ref: Se, required: !!ie.value.required, class: c(f(te) + (Q.value ? " " + Q.value : "")), "label-width": ie.value.labelWidth, style: p(f(le)) }, v({ default: g(() => [m(i2, { placement: "right", trigger: "hover", width: 50, "popper-class": "custom-sel-copy-tooltip", "popper-options": { modifiers: [{ name: "flip", options: { fallbackPlacements: ["left", "top", "bottom"] } }] } }, { reference: g(() => [d("div", F, [m(a2, { ref_key: "componentRef", ref: ke, style: { flex: "1", "min-width": "0" }, disabled: "disabled" === ie.value.state, size: ie.value.size, clearable: ie.value.clearable, multiple: ie.value.multiple, "collapse-tags": ie.value.collapseTags, "collapse-tags-tooltip": ie.value.collapseTagsTooltip, filterable: ie.value.filterable, "allow-create": ie.value.allowCreate, placeholder: ie.value.placeholder, "remote-show-suffix": ie.value.remoteShowSuffix, remote: ie.value.remote, "remote-method": ie.value.remoteMethod, loading: ve.value, onKeydown: l2[0] || (l2[0] = y(h(() => {
150
- }, ["stop"]), ["space"])), onChange: ie.value.changeMethod, onClear: ie.value.changeMethod, onVisibleChange: je, modelValue: pe.value, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => pe.value = e4) }, { prefix: g(() => [d("span", { class: "mobile-copy-trigger", onClick: h(Re, ["stop"]) }, [m(t2, { style: { cursor: "copy" } }, { default: g(() => [m(f(z))]), _: 1 })])]), default: g(() => [ie.value.multiple && false !== ie.value.showSelectAll ? (s(), u(o2, { key: 0, label: f(J)("superGrid.selectAll"), value: $, disabled: !(ce.value && ce.value.length > 0) }, null, 8, ["label", "disabled"])) : b("", true), (s(true), x(C, null, _(ce.value, (l3) => (s(), u(o2, { key: l3.value, label: l3.label, value: l3.value, class: c({ "option-description-newLine": f(ne) }), onClick: (t3) => f(V)(l3.value, e3.pageContext, e3.configure, "click", { values: pe.value }) }, { default: g(() => [l3._description_ ? (s(), x(C, { key: 0 }, [f(ne) ? (s(), x("div", G, [d("span", null, w(l3.label), 1), d("span", K, w(l3._description_), 1)])) : (s(), x(C, { key: 1 }, [d("span", L, w(l3.label), 1), d("span", U, w(l3._description_), 1)], 64))], 64)) : b("", true)]), _: 2 }, 1032, ["label", "value", "class", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "clearable", "multiple", "collapse-tags", "collapse-tags-tooltip", "filterable", "allow-create", "placeholder", "remote-show-suffix", "remote", "remote-method", "loading", "onChange", "onClear", "modelValue"])])]), default: g(() => [d("span", B, [m(t2, { id: ue, style: { cursor: "copy" } }, { default: g(() => [m(f(z))]), _: 1 })])]), _: 1 })]), _: 2 }, [ie.value.tittleShow ? { name: "label", fn: g(() => [d("div", { ref_key: "titleRef", ref: Ae, style: p({ ...f(oe), ...f(ae) }) }, [ie.value.prefixType ? (s(), u(D, { key: 0, pageContext: e3.pageContext, property: ie.value }, null, 8, ["pageContext", "property"])) : (s(), x(C, { key: 1 }, [S(w(f(I)(ie.value.title)), 1)], 64))], 4)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
150
+ }, ["stop"]), ["space"])), onChange: ie.value.changeMethod, onClear: ie.value.changeMethod, onVisibleChange: je, modelValue: pe.value, "onUpdate:modelValue": l2[1] || (l2[1] = (e4) => pe.value = e4) }, { prefix: g(() => [d("span", { class: "mobile-copy-trigger", onClick: h(Re, ["stop"]) }, [m(t2, { style: { cursor: "copy" } }, { default: g(() => [m(f(z))]), _: 1 })])]), default: g(() => [ie.value.multiple && false !== ie.value.showSelectAll ? (s(), u(o2, { key: 0, label: f(J)("superGrid.selectAll"), value: $, disabled: !(ce.value && ce.value.length > 0) }, null, 8, ["label", "disabled"])) : b("", true), (s(true), x(C, null, _(ce.value, (l3) => (s(), u(o2, { key: l3.value, label: l3.label, value: l3.value, class: c({ "option-description-newLine": f(ne) }), onClick: (t3) => f(V)(l3.value, e3.pageContext, e3.configure, "click", { values: pe.value }) }, { default: g(() => [l3._description_ ? (s(), x(C, { key: 0 }, [f(ne) ? (s(), x("div", G, [d("span", null, w(l3.label), 1), d("span", K, w(l3._description_), 1)])) : (s(), x(C, { key: 1 }, [d("span", L, w(l3.label), 1), d("span", U, w(l3._description_), 1)], 64))], 64)) : b("", true)]), _: 2 }, 1032, ["label", "value", "class", "onClick"]))), 128))]), _: 1 }, 8, ["disabled", "size", "clearable", "multiple", "collapse-tags", "collapse-tags-tooltip", "filterable", "allow-create", "placeholder", "remote-show-suffix", "remote", "remote-method", "loading", "onChange", "onClear", "modelValue"])])]), default: g(() => [d("span", B, [m(t2, { id: ue, style: { cursor: "copy" } }, { default: g(() => [m(f(z))]), _: 1 })])]), _: 1 })]), _: 2 }, [ie.value.tittleShow ? { name: "label", fn: g(() => [d("div", { ref_key: "titleRef", ref: Ae, style: p({ ...f(oe), ...f(ae) }), class: "amb-form-item-label" }, [ie.value.prefixType ? (s(), u(D, { key: 0, pageContext: e3.pageContext, property: ie.value }, null, 8, ["pageContext", "property"])) : (s(), x(C, { key: 1 }, [S(w(f(I)(ie.value.title)), 1)], 64))], 4)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
151
151
  };
152
152
  } });
153
153
  export {
@@ -1,9 +1,9 @@
1
- import { defineComponent as e, ref as t, computed as l, onMounted as a, nextTick as u, resolveComponent as i, createBlock as n, openBlock as v, normalizeStyle as o, normalizeClass as r, unref as c, createSlots as s, withCtx as f, createVNode as p, createElementVNode as m, toDisplayString as d } from "vue";
1
+ import { defineComponent as e, ref as t, computed as l, onMounted as a, nextTick as u, resolveComponent as i, createBlock as n, openBlock as v, normalizeStyle as o, normalizeClass as r, unref as c, createSlots as s, withCtx as f, createVNode as m, createElementVNode as p, toDisplayString as d } from "vue";
2
2
  import { getFormModelFields as g } from "../../../../utils/page-init-util.js";
3
3
  import { getVariableValue as V, setVariableValue as y } from "../../../../utils/page-helper-util.js";
4
4
  import { handleAfterInitEvent as x, handleFormEvent as h } from "../../../../utils/events/event-util.js";
5
- import { $t as C } from "../../../../utils/i18n-util.js";
6
- import { addRequiredClassUtil as b } from "../../../../utils/common-util.js";
5
+ import { $t as b } from "../../../../utils/i18n-util.js";
6
+ import { addRequiredClassUtil as C } from "../../../../utils/common-util.js";
7
7
  const w = e({ __name: "switch-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: w2 }) {
8
8
  const R = e2, _ = t(null), j = R.pageContext.entity ? R.pageContext.entity : {};
9
9
  let k = g(R.pageContext, R.configure);
@@ -25,10 +25,10 @@ const w = e({ __name: "switch-runtime", props: { pageContext: {}, configure: {}
25
25
  x(e3, R.pageContext, R.configure, { formItemRef: A.value, componentRef: B.value, titleRef: F.value, value: e3, entity: R.pageContext.entity.data, pageData: R.pageContext.entity.page });
26
26
  });
27
27
  }), w2({ addRequiredClass: function() {
28
- _.value = b();
28
+ _.value = C();
29
29
  } }), (e3, t2) => {
30
30
  const l2 = i("el-switch"), a2 = i("el-form-item");
31
- return v(), n(a2, { ref_key: "formItemRef", ref: A, required: W.value.required, class: r(c(z) + (_.value ? " " + _.value : "")), "label-width": W.value.labelWidth, style: o(c(S)) }, s({ default: f(() => [p(l2, { ref_key: "componentRef", ref: B, disabled: "disabled" === W.value.state, "active-value": W.value.activeValue, "active-text": W.value.activeText, "inactive-value": W.value.inactiveValue, "inactive-text": W.value.inactiveText, width: W.value.offOnWidth, size: W.value.size, style: o(c(O)), modelValue: U.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => U.value = e4), onChange: t2[1] || (t2[1] = (t3) => c(h)(t3, e3.pageContext, e3.configure, "change")) }, null, 8, ["disabled", "active-value", "active-text", "inactive-value", "inactive-text", "width", "size", "style", "modelValue"])]), _: 2 }, [W.value.tittleShow ? { name: "label", fn: f(() => [m("div", { ref_key: "titleRef", ref: F, style: o({ ...c(I), ...c(T) }) }, d(c(C)(W.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
31
+ return v(), n(a2, { ref_key: "formItemRef", ref: A, required: W.value.required, class: r(c(z) + (_.value ? " " + _.value : "")), "label-width": W.value.labelWidth, style: o(c(S)) }, s({ default: f(() => [m(l2, { ref_key: "componentRef", ref: B, disabled: "disabled" === W.value.state, "active-value": W.value.activeValue, "active-text": W.value.activeText, "inactive-value": W.value.inactiveValue, "inactive-text": W.value.inactiveText, width: W.value.offOnWidth, size: W.value.size, style: o(c(O)), modelValue: U.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => U.value = e4), onChange: t2[1] || (t2[1] = (t3) => c(h)(t3, e3.pageContext, e3.configure, "change")) }, null, 8, ["disabled", "active-value", "active-text", "inactive-value", "inactive-text", "width", "size", "style", "modelValue"])]), _: 2 }, [W.value.tittleShow ? { name: "label", fn: f(() => [p("div", { ref_key: "titleRef", ref: F, style: o({ ...c(I), ...c(T) }), class: "amb-form-item-label" }, d(c(b)(W.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
32
32
  };
33
33
  } });
34
34
  export {
@@ -1,7 +1,7 @@
1
1
  import e from "./textarea-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-9a3a96a8"]]);
4
+ const r = t(e, [["__scopeId", "data-v-1e8a62fc"]]);
5
5
  export {
6
6
  r as default
7
7
  };
@@ -1,26 +1,26 @@
1
1
  import { defineComponent as e, ref as t, computed as l, onMounted as a, nextTick as o, resolveComponent as n, createElementBlock as u, openBlock as r, createVNode as i, normalizeStyle as s, normalizeClass as p, unref as m, createSlots as f, withCtx as g, createElementVNode as c, createBlock as d, Fragment as v, createTextVNode as x, toDisplayString as y } from "vue";
2
2
  import { getFormModelFields as h } from "../../../../utils/page-init-util.js";
3
- import { setVariableValue as C, getVariableValue as w } from "../../../../utils/page-helper-util.js";
4
- import { handleAfterInitEvent as b, handleFormEvent as k } from "../../../../utils/events/event-util.js";
3
+ import { setVariableValue as C, getVariableValue as b } from "../../../../utils/page-helper-util.js";
4
+ import { handleAfterInitEvent as w, handleFormEvent as k } from "../../../../utils/events/event-util.js";
5
5
  import R from "../common/title-suffix-element.vue.js";
6
6
  import { $t as j } from "../../../../utils/i18n-util.js";
7
7
  import { addRequiredClassUtil as _ } from "../../../../utils/common-util.js";
8
8
  const q = e({ __name: "textarea-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: q2 }) {
9
9
  const I = e2, z = t(null), S = I.pageContext.entity ? I.pageContext.entity : {};
10
10
  let V = h(I.pageContext, I.configure);
11
- const B = l({ get: () => w(S, V), set(e3) {
11
+ const B = l({ get: () => b(S, V), set(e3) {
12
12
  C(S, V, e3), null != e3 && "" !== e3 && (z.value = "");
13
13
  } }), D = I.configure.runtime ? I.configure.runtime : {}, E = t(D.props ? D.props : {}), F = D.style, N = D.class, T = D.headerStyle, U = D.titleExceedStyle, W = t(null), A = t(null), G = t(null);
14
14
  return a(() => {
15
15
  o(() => {
16
16
  const e3 = B.value;
17
- b(e3, I.pageContext, I.configure, { formItemRef: W.value, componentRef: A.value, titleRef: G.value, value: e3, entity: I.pageContext.entity.data, pageData: I.pageContext.entity.page });
17
+ w(e3, I.pageContext, I.configure, { formItemRef: W.value, componentRef: A.value, titleRef: G.value, value: e3, entity: I.pageContext.entity.data, pageData: I.pageContext.entity.page });
18
18
  });
19
19
  }), q2({ addRequiredClass: function() {
20
20
  z.value = _();
21
21
  } }), (e3, t2) => {
22
22
  const l2 = n("el-input"), a2 = n("el-form-item");
23
- return r(), u("div", null, [i(a2, { ref_key: "formItemRef", ref: W, required: !!E.value.required, class: p(m(N) + (z.value ? " " + z.value : "")), "label-width": E.value.labelWidth, style: s(m(F)) }, f({ default: g(() => [i(l2, { ref_key: "componentRef", ref: A, disabled: "disabled" === E.value.state, readonly: "readonly" === E.value.state, size: E.value.size, clearable: E.value.clearable, placeholder: E.value.placeholder, modelValue: B.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => B.value = e4), rows: E.value.rows ? E.value.rows : 2, maxlength: E.value.maxlength, minlength: E.value.minlength, "show-word-limit": E.value.showInputNum, type: "textarea", onInput: t2[1] || (t2[1] = (t3) => m(k)(t3, e3.pageContext, e3.configure, "input")), onChange: t2[2] || (t2[2] = (t3) => m(k)(t3, e3.pageContext, e3.configure, "change")), onBlur: t2[3] || (t2[3] = (t3) => m(k)(t3, e3.pageContext, e3.configure, "blur")), onFocus: t2[4] || (t2[4] = (t3) => m(k)(t3, e3.pageContext, e3.configure, "focus")), onClick: t2[5] || (t2[5] = (t3) => m(k)(t3, e3.pageContext, e3.configure, "click")) }, null, 8, ["disabled", "readonly", "size", "clearable", "placeholder", "modelValue", "rows", "maxlength", "minlength", "show-word-limit"])]), _: 2 }, [E.value.tittleShow ? { name: "label", fn: g(() => [c("div", { ref_key: "titleRef", ref: G, style: s({ ...m(T), ...m(U) }) }, [E.value.prefixType ? (r(), d(R, { key: 0, pageContext: e3.pageContext, property: E.value }, null, 8, ["pageContext", "property"])) : (r(), u(v, { key: 1 }, [x(y(m(j)(E.value.title)), 1)], 64))], 4)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"])]);
23
+ return r(), u("div", null, [i(a2, { ref_key: "formItemRef", ref: W, required: !!E.value.required, class: p(m(N) + (z.value ? " " + z.value : "")), "label-width": E.value.labelWidth, style: s(m(F)) }, f({ default: g(() => [i(l2, { ref_key: "componentRef", ref: A, disabled: "disabled" === E.value.state, readonly: "readonly" === E.value.state, size: E.value.size, clearable: E.value.clearable, placeholder: E.value.placeholder, modelValue: B.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => B.value = e4), rows: E.value.rows ? E.value.rows : 2, maxlength: E.value.maxlength, minlength: E.value.minlength, "show-word-limit": E.value.showInputNum, type: "textarea", onInput: t2[1] || (t2[1] = (t3) => m(k)(t3, e3.pageContext, e3.configure, "input")), onChange: t2[2] || (t2[2] = (t3) => m(k)(t3, e3.pageContext, e3.configure, "change")), onBlur: t2[3] || (t2[3] = (t3) => m(k)(t3, e3.pageContext, e3.configure, "blur")), onFocus: t2[4] || (t2[4] = (t3) => m(k)(t3, e3.pageContext, e3.configure, "focus")), onClick: t2[5] || (t2[5] = (t3) => m(k)(t3, e3.pageContext, e3.configure, "click")) }, null, 8, ["disabled", "readonly", "size", "clearable", "placeholder", "modelValue", "rows", "maxlength", "minlength", "show-word-limit"])]), _: 2 }, [E.value.tittleShow ? { name: "label", fn: g(() => [c("div", { ref_key: "titleRef", ref: G, style: s({ ...m(T), ...m(U) }), class: "amb-form-item-label" }, [E.value.prefixType ? (r(), d(R, { key: 0, pageContext: e3.pageContext, property: E.value }, null, 8, ["pageContext", "property"])) : (r(), u(v, { key: 1 }, [x(y(m(j)(E.value.title)), 1)], 64))], 4)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"])]);
24
24
  };
25
25
  } });
26
26
  export {
package/dist/es/style.css CHANGED
@@ -594,18 +594,18 @@
594
594
  .amb-widget-tools-parent[data-v-a9801c3f] .amb-widget-container-tool > .el-form-item {
595
595
  margin-bottom: 0;
596
596
  }
597
- [data-v-5193e959] .el-popover,[data-v-5193e959] .el-popper,[data-v-5193e959] .el-popover__popper {
597
+ [data-v-f0e9b5f0] .el-popover,[data-v-f0e9b5f0] .el-popper,[data-v-f0e9b5f0] .el-popover__popper {
598
598
  min-width: 50px !important;
599
599
  }
600
- [data-v-5193e959] .custom-sel-copy-tooltip {
600
+ [data-v-f0e9b5f0] .custom-sel-copy-tooltip {
601
601
  box-shadow: 0 0 8px 2px rgba(0, 123, 255, 0.7);
602
602
  }
603
603
  /* 移动端显示复制按钮,pc隐藏 */
604
- .mobile-copy-trigger[data-v-5193e959] {
604
+ .mobile-copy-trigger[data-v-f0e9b5f0] {
605
605
  display: none;
606
606
  }
607
607
  @media (hover: none) and (pointer: coarse) {
608
- .mobile-copy-trigger[data-v-5193e959] {
608
+ .mobile-copy-trigger[data-v-f0e9b5f0] {
609
609
  display: inline-flex;
610
610
  align-items: center;
611
611
  padding-right: 4px;
@@ -614,25 +614,25 @@
614
614
  }
615
615
 
616
616
  /**解决textarea的清除按钮换行问题 */
617
- [data-v-9a3a96a8] .el-textarea .el-textarea__clear {
617
+ [data-v-1e8a62fc] .el-textarea .el-textarea__clear {
618
618
  position: absolute !important;
619
619
  }
620
620
 
621
- [data-v-9fec556f] .el-form-item__content {
621
+ [data-v-faf97d0c] .el-form-item__content {
622
622
  height: 100% !important;
623
623
  }
624
- [data-v-9fec556f] .ql-toolbar.ql-snow {
624
+ [data-v-faf97d0c] .ql-toolbar.ql-snow {
625
625
  line-height: 24px;
626
626
  }
627
- [data-v-9fec556f] .ql-toolbar.ql-snow .ql-formats {
627
+ [data-v-faf97d0c] .ql-toolbar.ql-snow .ql-formats {
628
628
  display: inline-flex;
629
629
  align-items: center;
630
630
  vertical-align: middle;
631
631
  }
632
- [data-v-9fec556f] .ql-toolbar.ql-snow button[data-tooltip],[data-v-9fec556f] .ql-toolbar.ql-snow .ql-picker-label[data-tooltip] {
632
+ [data-v-faf97d0c] .ql-toolbar.ql-snow button[data-tooltip],[data-v-faf97d0c] .ql-toolbar.ql-snow .ql-picker-label[data-tooltip] {
633
633
  position: relative;
634
634
  }
635
- [data-v-9fec556f] .ql-toolbar.ql-snow button[data-tooltip]::after,[data-v-9fec556f] .ql-toolbar.ql-snow .ql-picker-label[data-tooltip]::after {
635
+ [data-v-faf97d0c] .ql-toolbar.ql-snow button[data-tooltip]::after,[data-v-faf97d0c] .ql-toolbar.ql-snow .ql-picker-label[data-tooltip]::after {
636
636
  content: attr(data-tooltip);
637
637
  position: absolute;
638
638
  bottom: calc(100% + 5px);
@@ -650,132 +650,132 @@
650
650
  z-index: 9999;
651
651
  pointer-events: none;
652
652
  }
653
- [data-v-9fec556f] .ql-toolbar.ql-snow button[data-tooltip]:hover::after,[data-v-9fec556f] .ql-toolbar.ql-snow .ql-picker-label[data-tooltip]:hover::after {
653
+ [data-v-faf97d0c] .ql-toolbar.ql-snow button[data-tooltip]:hover::after,[data-v-faf97d0c] .ql-toolbar.ql-snow .ql-picker-label[data-tooltip]:hover::after {
654
654
  opacity: 1;
655
655
  visibility: visible;
656
656
  }
657
- [data-v-9fec556f] .ql-container.ql-snow .ql-editor::selection {
657
+ [data-v-faf97d0c] .ql-container.ql-snow .ql-editor::selection {
658
658
  background: #b4d5fe;
659
659
  }
660
- [data-v-9fec556f] .ql-container.ql-snow .ql-editor *::selection {
660
+ [data-v-faf97d0c] .ql-container.ql-snow .ql-editor *::selection {
661
661
  background: #b4d5fe;
662
662
  }
663
- [data-v-9fec556f] .ql-editor {
663
+ [data-v-faf97d0c] .ql-editor {
664
664
  white-space: pre-wrap;
665
665
  }
666
- [data-v-9fec556f] .ql-editor:not(:focus)::selection,[data-v-9fec556f] .ql-editor:not(:focus) *::selection {
666
+ [data-v-faf97d0c] .ql-editor:not(:focus)::selection,[data-v-faf97d0c] .ql-editor:not(:focus) *::selection {
667
667
  background: #b4d5fe !important;
668
668
  }
669
- [data-v-9fec556f] .ql-snow .ql-picker.ql-size .ql-picker-label::before,[data-v-9fec556f] .ql-snow .ql-picker.ql-size .ql-picker-item::before {
669
+ [data-v-faf97d0c] .ql-snow .ql-picker.ql-size .ql-picker-label::before,[data-v-faf97d0c] .ql-snow .ql-picker.ql-size .ql-picker-item::before {
670
670
  content: "默认";
671
671
  }
672
- [data-v-9fec556f] .ql-snow .ql-picker.ql-size .ql-picker-label[data-value="12px"]::before,[data-v-9fec556f] .ql-snow .ql-picker.ql-size .ql-picker-item[data-value="12px"]::before {
672
+ [data-v-faf97d0c] .ql-snow .ql-picker.ql-size .ql-picker-label[data-value="12px"]::before,[data-v-faf97d0c] .ql-snow .ql-picker.ql-size .ql-picker-item[data-value="12px"]::before {
673
673
  content: "12px";
674
674
  }
675
- [data-v-9fec556f] .ql-snow .ql-picker.ql-size .ql-picker-label[data-value="14px"]::before,[data-v-9fec556f] .ql-snow .ql-picker.ql-size .ql-picker-item[data-value="14px"]::before {
675
+ [data-v-faf97d0c] .ql-snow .ql-picker.ql-size .ql-picker-label[data-value="14px"]::before,[data-v-faf97d0c] .ql-snow .ql-picker.ql-size .ql-picker-item[data-value="14px"]::before {
676
676
  content: "14px";
677
677
  }
678
- [data-v-9fec556f] .ql-snow .ql-picker.ql-size .ql-picker-label[data-value="16px"]::before,[data-v-9fec556f] .ql-snow .ql-picker.ql-size .ql-picker-item[data-value="16px"]::before {
678
+ [data-v-faf97d0c] .ql-snow .ql-picker.ql-size .ql-picker-label[data-value="16px"]::before,[data-v-faf97d0c] .ql-snow .ql-picker.ql-size .ql-picker-item[data-value="16px"]::before {
679
679
  content: "16px";
680
680
  }
681
- [data-v-9fec556f] .ql-snow .ql-picker.ql-size .ql-picker-label[data-value="18px"]::before,[data-v-9fec556f] .ql-snow .ql-picker.ql-size .ql-picker-item[data-value="18px"]::before {
681
+ [data-v-faf97d0c] .ql-snow .ql-picker.ql-size .ql-picker-label[data-value="18px"]::before,[data-v-faf97d0c] .ql-snow .ql-picker.ql-size .ql-picker-item[data-value="18px"]::before {
682
682
  content: "18px";
683
683
  }
684
- [data-v-9fec556f] .ql-snow .ql-picker.ql-size .ql-picker-label[data-value="20px"]::before,[data-v-9fec556f] .ql-snow .ql-picker.ql-size .ql-picker-item[data-value="20px"]::before {
684
+ [data-v-faf97d0c] .ql-snow .ql-picker.ql-size .ql-picker-label[data-value="20px"]::before,[data-v-faf97d0c] .ql-snow .ql-picker.ql-size .ql-picker-item[data-value="20px"]::before {
685
685
  content: "20px";
686
686
  }
687
- [data-v-9fec556f] .ql-snow .ql-picker.ql-size .ql-picker-label[data-value="24px"]::before,[data-v-9fec556f] .ql-snow .ql-picker.ql-size .ql-picker-item[data-value="24px"]::before {
687
+ [data-v-faf97d0c] .ql-snow .ql-picker.ql-size .ql-picker-label[data-value="24px"]::before,[data-v-faf97d0c] .ql-snow .ql-picker.ql-size .ql-picker-item[data-value="24px"]::before {
688
688
  content: "24px";
689
689
  }
690
- [data-v-9fec556f] .ql-snow .ql-picker.ql-size .ql-picker-label[data-value="28px"]::before,[data-v-9fec556f] .ql-snow .ql-picker.ql-size .ql-picker-item[data-value="28px"]::before {
690
+ [data-v-faf97d0c] .ql-snow .ql-picker.ql-size .ql-picker-label[data-value="28px"]::before,[data-v-faf97d0c] .ql-snow .ql-picker.ql-size .ql-picker-item[data-value="28px"]::before {
691
691
  content: "28px";
692
692
  }
693
- [data-v-9fec556f] .ql-snow .ql-picker.ql-size .ql-picker-label[data-value="32px"]::before,[data-v-9fec556f] .ql-snow .ql-picker.ql-size .ql-picker-item[data-value="32px"]::before {
693
+ [data-v-faf97d0c] .ql-snow .ql-picker.ql-size .ql-picker-label[data-value="32px"]::before,[data-v-faf97d0c] .ql-snow .ql-picker.ql-size .ql-picker-item[data-value="32px"]::before {
694
694
  content: "32px";
695
695
  }
696
- [data-v-9fec556f] .ql-snow .ql-picker.ql-size .ql-picker-label[data-value="36px"]::before,[data-v-9fec556f] .ql-snow .ql-picker.ql-size .ql-picker-item[data-value="36px"]::before {
696
+ [data-v-faf97d0c] .ql-snow .ql-picker.ql-size .ql-picker-label[data-value="36px"]::before,[data-v-faf97d0c] .ql-snow .ql-picker.ql-size .ql-picker-item[data-value="36px"]::before {
697
697
  content: "36px";
698
698
  }
699
- [data-v-9fec556f] .ql-snow .ql-picker.ql-size .ql-picker-label[data-value="48px"]::before,[data-v-9fec556f] .ql-snow .ql-picker.ql-size .ql-picker-item[data-value="48px"]::before {
699
+ [data-v-faf97d0c] .ql-snow .ql-picker.ql-size .ql-picker-label[data-value="48px"]::before,[data-v-faf97d0c] .ql-snow .ql-picker.ql-size .ql-picker-item[data-value="48px"]::before {
700
700
  content: "48px";
701
701
  }
702
- [data-v-9fec556f] .ql-snow .ql-picker.ql-font .ql-picker-label::before,[data-v-9fec556f] .ql-snow .ql-picker.ql-font .ql-picker-item::before {
702
+ [data-v-faf97d0c] .ql-snow .ql-picker.ql-font .ql-picker-label::before,[data-v-faf97d0c] .ql-snow .ql-picker.ql-font .ql-picker-item::before {
703
703
  content: "默认字体";
704
704
  }
705
- [data-v-9fec556f] .ql-snow .ql-picker.ql-font .ql-picker-label[data-value="Source Han Sans CN"]::before,[data-v-9fec556f] .ql-snow .ql-picker.ql-font .ql-picker-item[data-value="Source Han Sans CN"]::before {
705
+ [data-v-faf97d0c] .ql-snow .ql-picker.ql-font .ql-picker-label[data-value="Source Han Sans CN"]::before,[data-v-faf97d0c] .ql-snow .ql-picker.ql-font .ql-picker-item[data-value="Source Han Sans CN"]::before {
706
706
  content: "思源黑体";
707
707
  font-family: "Source Han Sans CN";
708
708
  }
709
- [data-v-9fec556f] .ql-snow .ql-picker.ql-font .ql-picker-label[data-value=SimSun]::before,[data-v-9fec556f] .ql-snow .ql-picker.ql-font .ql-picker-item[data-value=SimSun]::before {
709
+ [data-v-faf97d0c] .ql-snow .ql-picker.ql-font .ql-picker-label[data-value=SimSun]::before,[data-v-faf97d0c] .ql-snow .ql-picker.ql-font .ql-picker-item[data-value=SimSun]::before {
710
710
  content: "宋体";
711
711
  font-family: "SimSun";
712
712
  }
713
- [data-v-9fec556f] .ql-snow .ql-picker.ql-font .ql-picker-label[data-value=SimHei]::before,[data-v-9fec556f] .ql-snow .ql-picker.ql-font .ql-picker-item[data-value=SimHei]::before {
713
+ [data-v-faf97d0c] .ql-snow .ql-picker.ql-font .ql-picker-label[data-value=SimHei]::before,[data-v-faf97d0c] .ql-snow .ql-picker.ql-font .ql-picker-item[data-value=SimHei]::before {
714
714
  content: "黑体";
715
715
  font-family: "SimHei";
716
716
  }
717
- [data-v-9fec556f] .ql-snow .ql-picker.ql-font .ql-picker-label[data-value="Microsoft YaHei"]::before,[data-v-9fec556f] .ql-snow .ql-picker.ql-font .ql-picker-item[data-value="Microsoft YaHei"]::before {
717
+ [data-v-faf97d0c] .ql-snow .ql-picker.ql-font .ql-picker-label[data-value="Microsoft YaHei"]::before,[data-v-faf97d0c] .ql-snow .ql-picker.ql-font .ql-picker-item[data-value="Microsoft YaHei"]::before {
718
718
  content: "微软雅黑";
719
719
  font-family: "Microsoft YaHei";
720
720
  }
721
- [data-v-9fec556f] .ql-snow .ql-picker.ql-font .ql-picker-label[data-value=KaiTi]::before,[data-v-9fec556f] .ql-snow .ql-picker.ql-font .ql-picker-item[data-value=KaiTi]::before {
721
+ [data-v-faf97d0c] .ql-snow .ql-picker.ql-font .ql-picker-label[data-value=KaiTi]::before,[data-v-faf97d0c] .ql-snow .ql-picker.ql-font .ql-picker-item[data-value=KaiTi]::before {
722
722
  content: "楷体";
723
723
  font-family: "KaiTi";
724
724
  }
725
- [data-v-9fec556f] .ql-snow .ql-picker.ql-font .ql-picker-label[data-value=FangSong]::before,[data-v-9fec556f] .ql-snow .ql-picker.ql-font .ql-picker-item[data-value=FangSong]::before {
725
+ [data-v-faf97d0c] .ql-snow .ql-picker.ql-font .ql-picker-label[data-value=FangSong]::before,[data-v-faf97d0c] .ql-snow .ql-picker.ql-font .ql-picker-item[data-value=FangSong]::before {
726
726
  content: "仿宋";
727
727
  font-family: "FangSong";
728
728
  }
729
- [data-v-9fec556f] .ql-snow .ql-picker.ql-font .ql-picker-label[data-value=Arial]::before,[data-v-9fec556f] .ql-snow .ql-picker.ql-font .ql-picker-item[data-value=Arial]::before {
729
+ [data-v-faf97d0c] .ql-snow .ql-picker.ql-font .ql-picker-label[data-value=Arial]::before,[data-v-faf97d0c] .ql-snow .ql-picker.ql-font .ql-picker-item[data-value=Arial]::before {
730
730
  content: "Arial";
731
731
  font-family: "Arial";
732
732
  }
733
- [data-v-9fec556f] .ql-snow .ql-picker.ql-font .ql-picker-label[data-value="Times New Roman"]::before,[data-v-9fec556f] .ql-snow .ql-picker.ql-font .ql-picker-item[data-value="Times New Roman"]::before {
733
+ [data-v-faf97d0c] .ql-snow .ql-picker.ql-font .ql-picker-label[data-value="Times New Roman"]::before,[data-v-faf97d0c] .ql-snow .ql-picker.ql-font .ql-picker-item[data-value="Times New Roman"]::before {
734
734
  content: "Times New Roman";
735
735
  font-family: "Times New Roman";
736
736
  }
737
- [data-v-9fec556f] .ql-snow .ql-picker.ql-font .ql-picker-label[data-value=Verdana]::before,[data-v-9fec556f] .ql-snow .ql-picker.ql-font .ql-picker-item[data-value=Verdana]::before {
737
+ [data-v-faf97d0c] .ql-snow .ql-picker.ql-font .ql-picker-label[data-value=Verdana]::before,[data-v-faf97d0c] .ql-snow .ql-picker.ql-font .ql-picker-item[data-value=Verdana]::before {
738
738
  content: "Verdana";
739
739
  font-family: "Verdana";
740
740
  }
741
- [data-v-9fec556f] .ql-snow .ql-picker.ql-font .ql-picker-label[data-value=Georgia]::before,[data-v-9fec556f] .ql-snow .ql-picker.ql-font .ql-picker-item[data-value=Georgia]::before {
741
+ [data-v-faf97d0c] .ql-snow .ql-picker.ql-font .ql-picker-label[data-value=Georgia]::before,[data-v-faf97d0c] .ql-snow .ql-picker.ql-font .ql-picker-item[data-value=Georgia]::before {
742
742
  content: "Georgia";
743
743
  font-family: "Georgia";
744
744
  }
745
- [data-v-9fec556f] .ql-snow .ql-picker.ql-font .ql-picker-label[data-value="Courier New"]::before,[data-v-9fec556f] .ql-snow .ql-picker.ql-font .ql-picker-item[data-value="Courier New"]::before {
745
+ [data-v-faf97d0c] .ql-snow .ql-picker.ql-font .ql-picker-label[data-value="Courier New"]::before,[data-v-faf97d0c] .ql-snow .ql-picker.ql-font .ql-picker-item[data-value="Courier New"]::before {
746
746
  content: "Courier New";
747
747
  font-family: "Courier New";
748
748
  }
749
- [data-v-9fec556f] .ql-snow .ql-picker.ql-header .ql-picker-label::before,[data-v-9fec556f] .ql-snow .ql-picker.ql-header .ql-picker-item::before {
749
+ [data-v-faf97d0c] .ql-snow .ql-picker.ql-header .ql-picker-label::before,[data-v-faf97d0c] .ql-snow .ql-picker.ql-header .ql-picker-item::before {
750
750
  content: "正文";
751
751
  }
752
- [data-v-9fec556f] .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]::before,[data-v-9fec556f] .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before {
752
+ [data-v-faf97d0c] .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]::before,[data-v-faf97d0c] .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before {
753
753
  content: "标题1";
754
754
  }
755
- [data-v-9fec556f] .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]::before,[data-v-9fec556f] .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before {
755
+ [data-v-faf97d0c] .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]::before,[data-v-faf97d0c] .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before {
756
756
  content: "标题2";
757
757
  }
758
- [data-v-9fec556f] .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]::before,[data-v-9fec556f] .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before {
758
+ [data-v-faf97d0c] .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]::before,[data-v-faf97d0c] .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before {
759
759
  content: "标题3";
760
760
  }
761
- [data-v-9fec556f] .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]::before,[data-v-9fec556f] .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]::before {
761
+ [data-v-faf97d0c] .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]::before,[data-v-faf97d0c] .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]::before {
762
762
  content: "标题4";
763
763
  }
764
- [data-v-9fec556f] .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]::before,[data-v-9fec556f] .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]::before {
764
+ [data-v-faf97d0c] .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]::before,[data-v-faf97d0c] .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]::before {
765
765
  content: "标题5";
766
766
  }
767
- [data-v-9fec556f] .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]::before,[data-v-9fec556f] .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]::before {
767
+ [data-v-faf97d0c] .ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]::before,[data-v-faf97d0c] .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]::before {
768
768
  content: "标题6";
769
769
  }
770
- .richtext-wrapper[data-v-9fec556f] {
770
+ .richtext-wrapper[data-v-faf97d0c] {
771
771
  position: relative;
772
772
  width: 100%;
773
773
  height: 100%;
774
774
  }
775
- .richtext-wrapper[data-v-9fec556f] .ql-container {
775
+ .richtext-wrapper[data-v-faf97d0c] .ql-container {
776
776
  padding-bottom: 30px;
777
777
  }
778
- .richtext-wrapper.is-fullscreen[data-v-9fec556f] {
778
+ .richtext-wrapper.is-fullscreen[data-v-faf97d0c] {
779
779
  position: fixed;
780
780
  top: 0;
781
781
  left: 0;
@@ -786,11 +786,11 @@
786
786
  padding: 20px;
787
787
  box-sizing: border-box;
788
788
  }
789
- .richtext-wrapper.is-fullscreen[data-v-9fec556f] .ql-container {
789
+ .richtext-wrapper.is-fullscreen[data-v-faf97d0c] .ql-container {
790
790
  height: calc(100% - 82px) !important;
791
791
  padding-bottom: 30px;
792
792
  }
793
- .toolbar-right-btns[data-v-9fec556f] {
793
+ .toolbar-right-btns[data-v-faf97d0c] {
794
794
  position: absolute;
795
795
  top: 5px;
796
796
  right: 10px;
@@ -798,7 +798,7 @@
798
798
  display: flex;
799
799
  gap: 4px;
800
800
  }
801
- .toolbar-btn[data-v-9fec556f] {
801
+ .toolbar-btn[data-v-faf97d0c] {
802
802
  width: 28px;
803
803
  height: 24px;
804
804
  display: flex;
@@ -810,11 +810,11 @@
810
810
  border-radius: 4px;
811
811
  color: #666;
812
812
  }
813
- .toolbar-btn[data-v-9fec556f]:hover {
813
+ .toolbar-btn[data-v-faf97d0c]:hover {
814
814
  background: #e0e0e0;
815
815
  color: #333;
816
816
  }
817
- .richtext-statusbar[data-v-9fec556f] {
817
+ .richtext-statusbar[data-v-faf97d0c] {
818
818
  position: absolute;
819
819
  bottom: 0;
820
820
  left: 0;
@@ -830,10 +830,10 @@
830
830
  font-size: 12px;
831
831
  color: #666;
832
832
  }
833
- .richtext-statusbar .word-count[data-v-9fec556f] {
833
+ .richtext-statusbar .word-count[data-v-faf97d0c] {
834
834
  margin-left: 15px;
835
835
  }
836
- .upload-loading[data-v-9fec556f] {
836
+ .upload-loading[data-v-faf97d0c] {
837
837
  position: absolute;
838
838
  top: 0;
839
839
  left: 0;
@@ -846,20 +846,20 @@
846
846
  justify-content: center;
847
847
  z-index: 100;
848
848
  }
849
- .upload-loading .loading-spinner[data-v-9fec556f] {
849
+ .upload-loading .loading-spinner[data-v-faf97d0c] {
850
850
  width: 32px;
851
851
  height: 32px;
852
852
  border: 3px solid #f3f3f3;
853
853
  border-top: 3px solid #409eff;
854
854
  border-radius: 50%;
855
- animation: spin-9fec556f 1s linear infinite;
855
+ animation: spin-faf97d0c 1s linear infinite;
856
856
  margin-bottom: 8px;
857
857
  }
858
- .upload-loading span[data-v-9fec556f] {
858
+ .upload-loading span[data-v-faf97d0c] {
859
859
  color: #666;
860
860
  font-size: 14px;
861
861
  }
862
- @keyframes spin-9fec556f {
862
+ @keyframes spin-faf97d0c {
863
863
  0% {
864
864
  transform: rotate(0deg);
865
865
  }
@@ -884,40 +884,40 @@
884
884
  }.el-form-item[data-v-96fc65d8] {
885
885
  margin-bottom: 0px;
886
886
  }
887
- .el-form-item[data-v-8357ca43] {
887
+ .el-form-item[data-v-40f0b5f4] {
888
888
  margin-bottom: 0px;
889
889
  }
890
890
 
891
891
  /* 整体对齐样式 - 靠左 */
892
- .form-item-align-flex-start[data-v-8357ca43] {
892
+ .form-item-align-flex-start[data-v-40f0b5f4] {
893
893
  justify-content: flex-start;
894
894
  }
895
- .form-item-align-flex-start[data-v-8357ca43] .el-form-item__label {
895
+ .form-item-align-flex-start[data-v-40f0b5f4] .el-form-item__label {
896
896
  flex: none;
897
897
  }
898
- .form-item-align-flex-start[data-v-8357ca43] .el-form-item__content {
898
+ .form-item-align-flex-start[data-v-40f0b5f4] .el-form-item__content {
899
899
  flex: none;
900
900
  }
901
901
 
902
902
  /* 整体对齐样式 - 居中 */
903
- .form-item-align-center[data-v-8357ca43] {
903
+ .form-item-align-center[data-v-40f0b5f4] {
904
904
  justify-content: center;
905
905
  }
906
- .form-item-align-center[data-v-8357ca43] .el-form-item__label {
906
+ .form-item-align-center[data-v-40f0b5f4] .el-form-item__label {
907
907
  flex: none;
908
908
  }
909
- .form-item-align-center[data-v-8357ca43] .el-form-item__content {
909
+ .form-item-align-center[data-v-40f0b5f4] .el-form-item__content {
910
910
  flex: none;
911
911
  }
912
912
 
913
913
  /* 整体对齐样式 - 靠右 */
914
- .form-item-align-flex-end[data-v-8357ca43] {
914
+ .form-item-align-flex-end[data-v-40f0b5f4] {
915
915
  justify-content: flex-end;
916
916
  }
917
- .form-item-align-flex-end[data-v-8357ca43] .el-form-item__label {
917
+ .form-item-align-flex-end[data-v-40f0b5f4] .el-form-item__label {
918
918
  flex: none;
919
919
  }
920
- .form-item-align-flex-end[data-v-8357ca43] .el-form-item__content {
920
+ .form-item-align-flex-end[data-v-40f0b5f4] .el-form-item__content {
921
921
  flex: none;
922
922
  }
923
923
  .amb-button-group-main[data-v-9d55ce0b] {
@@ -955,13 +955,13 @@
955
955
 
956
956
 
957
957
 
958
- .amb-chart-container[data-v-3175013a] {
958
+ .amb-chart-container[data-v-24135501] {
959
959
  display: flex;
960
960
  flex-direction: column;
961
961
  height: 100%;
962
962
  }
963
963
 
964
- .amb-chart-container[data-v-6a38f7d4] {
964
+ .amb-chart-container[data-v-15c32b0b] {
965
965
  display: flex;
966
966
  flex-direction: column;
967
967
  height: 100%;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "super-page-runtime",
3
- "version": "2.3.37-sit2",
3
+ "version": "2.3.37-sit3",
4
4
  "description": "AgileBuilder super page runtime",
5
5
  "license": "ISC",
6
6
  "main": "dist/es/index.js",
@@ -49,7 +49,7 @@
49
49
  "@vitejs/plugin-vue-jsx": "^3.1.0",
50
50
  "@vue/eslint-config-prettier": "^8.0.0",
51
51
  "@vue/test-utils": "^2.4.4",
52
- "agilebuilder-ui": "1.1.93-sit2",
52
+ "agilebuilder-ui": "1.1.93-sit3",
53
53
  "axios": "^1.6.8",
54
54
  "cypress": "^13.6.6",
55
55
  "element-plus": "^2.6.1",