super-page-runtime 2.3.36 → 2.3.37-sit1

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 (77) hide show
  1. package/dist/es/components/runtime/utils/api/page-expose-util.js +131 -131
  2. package/dist/es/components/runtime/utils/events/event-util.js +114 -114
  3. package/dist/es/components/runtime/utils/events/print-label.js +33 -34
  4. package/dist/es/components/runtime/utils/events/standard-event.js +38 -38
  5. package/dist/es/components/runtime/utils/events/validator-util.js +126 -88
  6. package/dist/es/components/runtime/utils/page-init-util.js +26 -28
  7. package/dist/es/components/runtime/utils/table-utils.js +1 -1
  8. package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +3 -3
  9. package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +3 -3
  10. package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +3 -3
  11. package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +1 -1
  12. package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +3 -3
  13. package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +1 -1
  14. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +6 -10
  15. package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +6 -8
  16. package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +1 -1
  17. package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +1 -1
  18. package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +1 -1
  19. package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +1 -1
  20. package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +1 -1
  21. package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +95 -98
  22. package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +2 -3
  23. package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +13 -13
  24. package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +9 -11
  25. package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +1 -1
  26. package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +3 -3
  27. package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +3 -3
  28. package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +3 -3
  29. package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +0 -2
  30. package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +3 -3
  31. package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +17 -12
  32. package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +5 -5
  33. package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +3 -3
  34. package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.js +9 -11
  35. package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +1 -1
  36. package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +69 -66
  37. package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +36 -33
  38. package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +16 -16
  39. package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +37 -37
  40. package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +3 -3
  41. package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +43 -43
  42. package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +62 -62
  43. package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +38 -38
  44. package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +3 -3
  45. package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +59 -60
  46. package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +21 -21
  47. package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +52 -53
  48. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +1 -1
  49. package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +26 -28
  50. package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +27 -29
  51. package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +50 -50
  52. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +1 -1
  53. package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +106 -106
  54. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +1 -1
  55. package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +89 -90
  56. package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +1 -1
  57. package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +4 -4
  58. package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +11 -11
  59. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +1 -1
  60. package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +21 -21
  61. package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +3 -3
  62. package/dist/es/components/runtime/views/assemblys/object-render.vue.js +96 -94
  63. package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +1 -1
  64. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.js +2 -2
  65. package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +30 -18
  66. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.js +1 -1
  67. package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +1 -1
  68. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +1 -1
  69. package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +26 -18
  70. package/dist/es/components/runtime/views/home-chart.vue.js +7 -7
  71. package/dist/es/components/runtime/views/super-page-dialog.vue.js +0 -1
  72. package/dist/es/components/runtime/views/super-page.vue.js +1 -1
  73. package/dist/es/components/runtime/views/super-page.vue2.js +27 -22
  74. package/dist/es/i18n/langs/cn.js +1 -1
  75. package/dist/es/i18n/langs/en.js +1 -1
  76. package/dist/es/style.css +166 -158
  77. package/package.json +2 -2
@@ -9,7 +9,7 @@ const d = e({ __name: "separatelabel-runtime", props: { pageContext: {}, configu
9
9
  const e3 = y(v.configure.props.base.title);
10
10
  b(e3, v.pageContext, v.configure, { componentRef: x.value, value: e3, entity: v.pageContext.entity.data, pageData: v.pageContext.entity.page });
11
11
  });
12
- }), d2({}), (t2, i2) => (r(), n("div", { style: p(l(T)), class: a([l(V), "amb-widget-separatelabel"]), ref_key: "thisRef", ref: x }, [s("div", { class: "label", style: p(l(h)) }, [e2.configure.props.iconType && e2.configure.props.iconValue ? (r(), u(l(m), { key: 0, iconType: e2.configure.props.iconType, iconValue: e2.configure.props.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : c("", true), g(" " + f(l(y)(e2.configure.props.base.title)), 1)], 4)], 6));
12
+ }), d2({}), (e3, t2) => (r(), n("div", { style: p(l(T)), class: a([l(V), "amb-widget-separatelabel"]), ref_key: "thisRef", ref: x }, [s("div", { class: "label", style: p(l(h)) }, [e3.configure.props.iconType && e3.configure.props.iconValue ? (r(), u(l(m), { key: 0, iconType: e3.configure.props.iconType, iconValue: e3.configure.props.iconValue, style: { "margin-right": "2px" } }, null, 8, ["iconType", "iconValue"])) : c("", true), g(" " + f(l(y)(e3.configure.props.base.title)), 1)], 4)], 6));
13
13
  } });
14
14
  export {
15
15
  d as default
@@ -1,4 +1,4 @@
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, withCtx as s, createVNode as f, createElementBlock as p, createCommentVNode 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 p, createElementVNode as m, 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";
@@ -26,9 +26,9 @@ const w = e({ __name: "switch-runtime", props: { pageContext: {}, configure: {}
26
26
  });
27
27
  }), w2({ addRequiredClass: function() {
28
28
  _.value = b();
29
- } }), (t2, l2) => {
30
- const a2 = i("el-switch"), u2 = i("el-form-item");
31
- return v(), n(u2, { ref_key: "formItemRef", ref: A, required: W.value.required, class: r(c(z) + (_.value ? " " + _.value : "")), "label-width": W.value.labelWidth, style: o(c(S)) }, { label: s(() => [W.value.tittleShow ? (v(), p("div", { key: 0, ref_key: "titleRef", ref: F, style: o({ ...c(I), ...c(T) }) }, d(c(C)(W.value.title)), 5)) : m("", true)]), default: s(() => [f(a2, { 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": l2[0] || (l2[0] = (e3) => U.value = e3), onChange: l2[1] || (l2[1] = (t3) => c(h)(t3, e2.pageContext, e2.configure, "change")) }, null, 8, ["disabled", "active-value", "active-text", "inactive-value", "inactive-text", "width", "size", "style", "modelValue"])]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
29
+ } }), (e3, t2) => {
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"]);
32
32
  };
33
33
  } });
34
34
  export {
@@ -24,19 +24,19 @@ const j = e({ __name: "tag-runtime", props: { pageContext: {}, configure: {} },
24
24
  const e3 = E.value;
25
25
  h(e3, j2.pageContext, j2.configure, { formItemRef: O.value, titleRef: W.value, value: e3, entity: j2.pageContext.entity.data, pageData: j2.pageContext.entity.page });
26
26
  });
27
- }), (t2, l2) => {
28
- const a2 = o("el-tag"), i2 = o("el-form-item");
29
- return r(), n(i2, { ref_key: "formItemRef", ref: O, required: I.value.required, class: s(p(w)), "label-width": I.value.labelWidth, style: u(p(q)) }, { label: c(() => [I.value.tittleShow ? (r(), f("div", { key: 0, ref_key: "titleRef", ref: W, style: u({ ...p(z), ...p(S) }) }, y(p(_)(I.value.title)), 5)) : d("", true)]), default: c(() => [(r(true), f(g, null, m(E.value, (t3) => (r(), n(a2, { key: t3, size: I.value.size, closable: I.value.closable, type: I.value.type, style: { "margin-right": "4px" }, onClose: (e3) => function(e4, t4) {
27
+ }), (e3, t2) => {
28
+ const l2 = o("el-tag"), a2 = o("el-form-item");
29
+ return r(), n(a2, { ref_key: "formItemRef", ref: O, required: I.value.required, class: s(p(w)), "label-width": I.value.labelWidth, style: u(p(q)) }, { label: c(() => [I.value.tittleShow ? (r(), f("div", { key: 0, ref_key: "titleRef", ref: W, style: u({ ...p(z), ...p(S) }) }, y(p(_)(I.value.title)), 5)) : d("", true)]), default: c(() => [(r(true), f(g, null, m(E.value, (a3) => (r(), n(l2, { key: a3, size: I.value.size, closable: I.value.closable, type: I.value.type, style: { "margin-right": "4px" }, onClose: (e4) => function(e5, t3) {
30
30
  if (I.value.closable) {
31
- let e5 = C(D, A);
32
- null == e5 && (e5 = []);
33
- const l3 = Array.isArray(e5);
34
- l3 || (e5 = (e5 + "").split(","));
35
- const a3 = e5.indexOf(t4.value);
36
- a3 > -1 && e5.splice(a3, 1), l3 || (e5 = e5.join(",")), b(D, A, e5);
31
+ let e6 = C(D, A);
32
+ null == e6 && (e6 = []);
33
+ const l3 = Array.isArray(e6);
34
+ l3 || (e6 = (e6 + "").split(","));
35
+ const a4 = e6.indexOf(t3.value);
36
+ a4 > -1 && e6.splice(a4, 1), l3 || (e6 = e6.join(",")), b(D, A, e6);
37
37
  }
38
- k(e4, j2.pageContext, j2.configure, "remove");
39
- }(e3, t3), onClick: l2[0] || (l2[0] = (t4) => p(k)(t4, e2.pageContext, e2.configure, "click")) }, { default: c(() => [v(y(t3.label), 1)]), _: 2 }, 1032, ["size", "closable", "type", "onClose"]))), 128))]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
38
+ k(e5, j2.pageContext, j2.configure, "remove");
39
+ }(e4, a3), onClick: t2[0] || (t2[0] = (t3) => p(k)(t3, e3.pageContext, e3.configure, "click")) }, { default: c(() => [v(y(a3.label), 1)]), _: 2 }, 1032, ["size", "closable", "type", "onClose"]))), 128))]), _: 1 }, 8, ["required", "class", "label-width", "style"]);
40
40
  };
41
41
  } });
42
42
  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-8dcd42b5"]]);
4
+ const r = t(e, [["__scopeId", "data-v-9a3a96a8"]]);
5
5
  export {
6
6
  r as default
7
7
  };
@@ -1,28 +1,28 @@
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, withCtx as f, createCommentVNode as g, createBlock as c, Fragment as d, createTextVNode as v, toDisplayString as x } from "vue";
2
- import { getFormModelFields as y } from "../../../../utils/page-init-util.js";
3
- import { setVariableValue as h, getVariableValue as C } from "../../../../utils/page-helper-util.js";
4
- import { handleAfterInitEvent as w, handleFormEvent as b } from "../../../../utils/events/event-util.js";
5
- import k from "../common/title-suffix-element.vue.js";
6
- import { $t as R } from "../../../../utils/i18n-util.js";
7
- import { addRequiredClassUtil as j } from "../../../../utils/common-util.js";
8
- const _ = e({ __name: "textarea-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: _2 }) {
9
- const q = e2, I = t(null), z = q.pageContext.entity ? q.pageContext.entity : {};
10
- let S = y(q.pageContext, q.configure);
11
- const V = l({ get: () => C(z, S), set(e3) {
12
- h(z, S, e3), null != e3 && "" !== e3 && (I.value = "");
13
- } }), B = q.configure.runtime ? q.configure.runtime : {}, D = t(B.props ? B.props : {}), E = B.style, F = B.class, N = B.headerStyle, T = B.titleExceedStyle, U = t(null), W = t(null), A = t(null);
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
+ 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";
5
+ import R from "../common/title-suffix-element.vue.js";
6
+ import { $t as j } from "../../../../utils/i18n-util.js";
7
+ import { addRequiredClassUtil as _ } from "../../../../utils/common-util.js";
8
+ const q = e({ __name: "textarea-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: q2 }) {
9
+ const I = e2, z = t(null), S = I.pageContext.entity ? I.pageContext.entity : {};
10
+ let V = h(I.pageContext, I.configure);
11
+ const B = l({ get: () => w(S, V), set(e3) {
12
+ C(S, V, e3), null != e3 && "" !== e3 && (z.value = "");
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
- const e3 = V.value;
17
- w(e3, q.pageContext, q.configure, { formItemRef: U.value, componentRef: W.value, titleRef: A.value, value: e3, entity: q.pageContext.entity.data, pageData: q.pageContext.entity.page });
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 });
18
18
  });
19
- }), _2({ addRequiredClass: function() {
20
- I.value = j();
21
- } }), (t2, l2) => {
22
- const a2 = n("el-input"), o2 = n("el-form-item");
23
- return r(), u("div", null, [i(o2, { ref_key: "formItemRef", ref: U, required: !!D.value.required, class: p(m(F) + (I.value ? " " + I.value : "")), "label-width": D.value.labelWidth, style: s(m(E)) }, { label: f(() => [D.value.tittleShow ? (r(), u("div", { key: 0, ref_key: "titleRef", ref: A, style: s({ ...m(N), ...m(T) }) }, [D.value.prefixType ? (r(), c(k, { key: 0, pageContext: e2.pageContext, property: D.value }, null, 8, ["pageContext", "property"])) : (r(), u(d, { key: 1 }, [v(x(m(R)(D.value.title)), 1)], 64))], 4)) : g("", true)]), default: f(() => [i(a2, { ref_key: "componentRef", ref: W, disabled: "disabled" === D.value.state, readonly: "readonly" === D.value.state, size: D.value.size, clearable: D.value.clearable, placeholder: D.value.placeholder, modelValue: V.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => V.value = e3), rows: D.value.rows ? D.value.rows : 2, maxlength: D.value.maxlength, minlength: D.value.minlength, "show-word-limit": D.value.showInputNum, type: "textarea", onInput: l2[1] || (l2[1] = (t3) => m(b)(t3, e2.pageContext, e2.configure, "input")), onChange: l2[2] || (l2[2] = (t3) => m(b)(t3, e2.pageContext, e2.configure, "change")), onBlur: l2[3] || (l2[3] = (t3) => m(b)(t3, e2.pageContext, e2.configure, "blur")), onFocus: l2[4] || (l2[4] = (t3) => m(b)(t3, e2.pageContext, e2.configure, "focus")), onClick: l2[5] || (l2[5] = (t3) => m(b)(t3, e2.pageContext, e2.configure, "click")) }, null, 8, ["disabled", "readonly", "size", "clearable", "placeholder", "modelValue", "rows", "maxlength", "minlength", "show-word-limit"])]), _: 1 }, 8, ["required", "class", "label-width", "style"])]);
19
+ }), q2({ addRequiredClass: function() {
20
+ z.value = _();
21
+ } }), (e3, t2) => {
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"])]);
24
24
  };
25
25
  } });
26
26
  export {
27
- _ as default
27
+ q as default
28
28
  };
@@ -73,9 +73,9 @@ const H = e({ __name: "home-chart-render", props: { pageContext: {}, configure:
73
73
  const t2 = H2.configure.props ? H2.configure.props : {}, n2 = H2.configure.style ? H2.configure.style : {}, i2 = t2.position;
74
74
  "top" == i2 || "bottom" == i2 || n2.position;
75
75
  };
76
- return (o2, t2) => {
77
- const n2 = i("permission");
78
- return u($)(e2.configure) ? r((c(), l(g(P.value), { key: 0, ref: D, style: a(W.value), class: f(q.value), configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["style", "class", "configure", "pageContext"])), [[p, u(B)], [n2, { codes: u(N) ? u(N) : "true", systemCode: e2.pageContext.systemCode }]]) : s("", true);
76
+ return (e3, o2) => {
77
+ const t2 = i("permission");
78
+ return u($)(e3.configure) ? r((c(), l(g(P.value), { key: 0, ref: D, style: a(W.value), class: f(q.value), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["style", "class", "configure", "pageContext"])), [[p, u(B)], [t2, { codes: u(N) ? u(N) : "true", systemCode: e3.pageContext.systemCode }]]) : s("", true);
79
79
  };
80
80
  } });
81
81
  export {
@@ -1,153 +1,155 @@
1
- import { defineComponent as e, ref as o, computed as t, markRaw as n, onMounted as i, onUnmounted as s, withDirectives as r, createCommentVNode as u, unref as l, createBlock as a, openBlock as p, resolveDynamicComponent as c, normalizeClass as g, normalizeStyle as f, vShow as m, nextTick as d } from "vue";
2
- import C from "./error-render.vue.js";
3
- import { getRuntimeComponentByName as v } from "../../utils/assemblys-config.js";
4
- import { PageDimensions as b } from "../../utils/interfaces/page-design-types.js";
5
- import { addComponentRef as h, addComponentRefByCode as x } from "../../utils/global-refs.js";
6
- import { getPermissionCodes as y, packageFormRules as w, controlObjectRenderState as j } from "../../utils/page-init-util.js";
7
- import { caculateShowCondition as M, getFormPropName as _, getSizeConfig as A } from "../../utils/page-helper-util.js";
8
- import { isWorkflowPage as T, getPropClassName as $, isNumber as H } from "../../utils/common-util.js";
9
- import { isShowMobileEvent as N, isShowComponent as O } from "../../utils/events/event-util.js";
10
- import { usePageContextStore as P } from "../../utils/page-store.js";
11
- import { isHasFieldAuth as S } from "../../utils/table-utils.js";
12
- import { checkPermission as B } from "agilebuilder-ui/src/utils/permission.js";
13
- import { isMobileBrowser as R } from "agilebuilder-ui/src/utils/common-util";
14
- const F = e({ __name: "object-render", props: { pageContext: {}, configure: {} }, setup(e2) {
15
- var _a, _b;
16
- const F2 = e2;
17
- null == F2.configure.style && (F2.configure.style = {});
18
- const k = y(F2.configure, F2.pageContext);
19
- F2.configure && F2.configure.props && F2.configure.props.base && (F2.configure.props.base.functionCode = k);
20
- const D = B(k || "true", F2.pageContext.systemCode), E = S(F2.pageContext, F2.configure), J = D && E;
21
- F2.configure && F2.configure.props && F2.configure.props.base && (F2.configure.props.base.isHasFieldAuthPermission = J), w(F2.pageContext, F2.configure, J);
22
- let L = o(null), W = o(true), q = o("");
23
- if (F2.configure && F2.configure.props) {
1
+ import { defineComponent as e, ref as o, computed as t, watch as n, markRaw as i, onMounted as s, onUnmounted as r, withDirectives as u, createCommentVNode as l, unref as a, createBlock as p, openBlock as g, resolveDynamicComponent as c, normalizeClass as f, normalizeStyle as d, vShow as m, nextTick as C } from "vue";
2
+ import v from "./error-render.vue.js";
3
+ import { getRuntimeComponentByName as h } from "../../utils/assemblys-config.js";
4
+ import { PageDimensions as x } from "../../utils/interfaces/page-design-types.js";
5
+ import { addComponentRef as b, addComponentRefByCode as y } from "../../utils/global-refs.js";
6
+ import { getModelFields as w, getPermissionCodes as j, packageFormRules as N, controlObjectRenderState as M } from "../../utils/page-init-util.js";
7
+ import { caculateShowCondition as V, getFormPropName as _, getSizeConfig as A } from "../../utils/page-helper-util.js";
8
+ import { isWorkflowPage as S, getPropClassName as T, isNumber as $ } from "../../utils/common-util.js";
9
+ import { isShowMobileEvent as O, isShowComponent as P } from "../../utils/events/event-util.js";
10
+ import { usePageContextStore as B } from "../../utils/page-store.js";
11
+ import { isHasFieldAuth as H } from "../../utils/table-utils.js";
12
+ import { checkPermission as R } from "agilebuilder-ui/src/utils/permission.js";
13
+ import { isMobileBrowser as F } from "agilebuilder-ui/src/utils/common-util";
14
+ const k = e({ __name: "object-render", props: { pageContext: {}, configure: {} }, setup(e2) {
15
+ var _a, _b, _c;
16
+ const k2 = e2;
17
+ null == k2.configure.style && (k2.configure.style = {}), k2.pageContext.hiddenNotValidatorCodes || (k2.pageContext.hiddenNotValidatorCodes = /* @__PURE__ */ new Set());
18
+ let D = w(k2.configure);
19
+ const E = D && D.length > 0 ? D[1] : null, J = j(k2.configure, k2.pageContext);
20
+ k2.configure && k2.configure.props && k2.configure.props.base && (k2.configure.props.base.functionCode = J);
21
+ const L = R(J || "true", k2.pageContext.systemCode), W = H(k2.pageContext, k2.configure), q = L && W;
22
+ k2.configure && k2.configure.props && k2.configure.props.base && (k2.configure.props.base.isHasFieldAuthPermission = q), N(k2.pageContext, k2.configure, q);
23
+ let z = o(null), G = o(true), I = o("");
24
+ if (k2.configure && k2.configure.props) {
24
25
  let e3 = [];
25
- ((_a = F2.configure.props.base) == null ? void 0 : _a.showConditions) && (e3 = "string" == typeof F2.configure.props.base.showConditions ? JSON.parse(F2.configure.props.base.showConditions) : F2.configure.props.base.showConditions), W = t(() => {
26
+ ((_a = k2.configure.props.base) == null ? void 0 : _a.showConditions) && (e3 = "string" == typeof k2.configure.props.base.showConditions ? JSON.parse(k2.configure.props.base.showConditions) : k2.configure.props.base.showConditions), G = t(() => {
26
27
  var _a2;
27
28
  let o2 = true;
28
- if (J) if (L.value && null !== L.value) o2 = "show" === L.value;
29
- else if (N(F2.pageContext, F2.configure)) if (e3 && e3.length > 0) o2 = M(F2.pageContext, e3);
29
+ if (q) if (z.value && null !== z.value) o2 = "show" === z.value;
30
+ else if (O(k2.pageContext, k2.configure)) if (e3 && e3.length > 0) o2 = V(k2.pageContext, e3);
30
31
  else {
31
- const e4 = (_a2 = F2.configure.props.base) == null ? void 0 : _a2.state;
32
+ const e4 = (_a2 = k2.configure.props.base) == null ? void 0 : _a2.state;
32
33
  e4 && "hidden" === e4 && (o2 = false);
33
34
  }
34
35
  else o2 = false;
35
36
  else o2 = false;
36
37
  return o2;
37
38
  });
38
- if (F2.configure._dynamicShowFlag = W, (_b = F2.configure.props.base) == null ? void 0 : _b.editConditions) {
39
- const e4 = F2.configure.props.base.editConditions;
39
+ if (k2.configure._dynamicShowFlag = G, E && ((_b = k2.configure.props) == null ? void 0 : _b.hiddenNotValidator) && n(G, (e4) => {
40
+ e4 ? k2.pageContext.hiddenNotValidatorCodes.delete(E) : k2.pageContext.hiddenNotValidatorCodes.add(E);
41
+ }, { immediate: true }), (_c = k2.configure.props.base) == null ? void 0 : _c.editConditions) {
42
+ const e4 = k2.configure.props.base.editConditions;
40
43
  if (e4.length > 0) {
41
- const o2 = F2.configure.runtime ? F2.configure.runtime : {}, n2 = o2.props ? o2.props : {};
42
- if (n2.rawSate = n2.state, T(F2.pageContext) && F2.pageContext.fieldPermissionMap) {
43
- const e5 = F2.configure.props.base;
44
+ const o2 = k2.configure.runtime ? k2.configure.runtime : {}, n2 = o2.props ? o2.props : {};
45
+ if (n2.rawSate = n2.state, S(k2.pageContext) && k2.pageContext.fieldPermissionMap) {
46
+ const e5 = k2.configure.props.base;
44
47
  if (e5 && e5.prop) {
45
48
  let o3 = e5.prop;
46
49
  o3 = _(o3);
47
- const t2 = F2.pageContext.fieldPermissionMap.get(o3);
48
- t2 && false === t2.canEdit && (q.value = "disabled");
50
+ const t2 = k2.pageContext.fieldPermissionMap.get(o3);
51
+ t2 && false === t2.canEdit && (I.value = "disabled");
49
52
  }
50
53
  }
51
54
  n2.state = t({ get() {
52
- if ("disabled" === q.value) return q.value;
53
- return M(F2.pageContext, e4) ? "" : "disabled";
55
+ if ("disabled" === I.value) return I.value;
56
+ return V(k2.pageContext, e4) ? "" : "disabled";
54
57
  }, set() {
55
58
  } });
56
59
  }
57
60
  }
58
61
  }
59
- const z = o({});
60
- z.value = n(v(F2.configure.name));
61
- const G = o(true);
62
- null == z.value && (z.value = C, G.value = false);
63
- const I = o(null), K = o({}), Q = o(""), U = $(F2.configure);
64
- U && (Q.value = U);
65
- const V = F2.configure.runtime && F2.configure.runtime.common ? F2.configure.runtime.common : {};
66
- if (V.class && (Q.value += " " + V.class), V.style) {
67
- Object.assign(K.value, V.style);
68
- const e3 = F2.pageContext && F2.pageContext.dimensions ? F2.pageContext.dimensions : b.PC, o2 = V.style[e3 + "_style"];
69
- o2 && Object.assign(K.value, o2);
70
- const t2 = V.style[e3 + "_class"];
71
- t2 && (Q.value += " " + t2);
62
+ const K = o({});
63
+ K.value = i(h(k2.configure.name));
64
+ const Q = o(true);
65
+ null == K.value && (K.value = v, Q.value = false);
66
+ const U = o(null), X = o({}), Y = o(""), Z = T(k2.configure);
67
+ Z && (Y.value = Z);
68
+ const ee = k2.configure.runtime && k2.configure.runtime.common ? k2.configure.runtime.common : {};
69
+ if (ee.class && (Y.value += " " + ee.class), ee.style) {
70
+ Object.assign(X.value, ee.style);
71
+ const e3 = k2.pageContext && k2.pageContext.dimensions ? k2.pageContext.dimensions : x.PC, o2 = ee.style[e3 + "_style"];
72
+ o2 && Object.assign(X.value, o2);
73
+ const t2 = ee.style[e3 + "_class"];
74
+ t2 && (Y.value += " " + t2);
72
75
  }
73
- const X = P();
74
- function Y(e3) {
75
- if (I.value = e3, e3 && !e3.show && (e3.show = function() {
76
- L.value = "show";
76
+ const oe = B();
77
+ function te(e3) {
78
+ if (U.value = e3, e3 && !e3.show && (e3.show = function() {
79
+ z.value = "show";
77
80
  }), e3 && !e3.hide && (e3.hide = function() {
78
- L.value = "hide";
81
+ z.value = "hide";
79
82
  }), e3 && !e3.getConfigure && (e3.getConfigure = function() {
80
- return F2.configure;
81
- }), F2.configure.uuid && h(F2.pageContext, F2.configure.uuid, I), F2.configure.code) x(F2.pageContext, F2.configure.code, I);
82
- else if ("table" === F2.configure.name) x(F2.pageContext, F2.configure.uuid, I);
83
- else if (F2.configure.props && F2.configure.props.base) {
84
- const e4 = F2.configure.props.base;
83
+ return k2.configure;
84
+ }), k2.configure.uuid && b(k2.pageContext, k2.configure.uuid, U), k2.configure.code) y(k2.pageContext, k2.configure.code, U);
85
+ else if ("table" === k2.configure.name) y(k2.pageContext, k2.configure.uuid, U);
86
+ else if (k2.configure.props && k2.configure.props.base) {
87
+ const e4 = k2.configure.props.base;
85
88
  if (e4.prop) {
86
89
  let o3 = e4.prop;
87
- o3.startsWith("${") && (o3 = o3.substring(2, o3.length - 1)), o3.includes(".") && (o3 = o3.substring(o3.indexOf(".") + 1)), x(F2.pageContext, o3, I);
90
+ o3.startsWith("${") && (o3 = o3.substring(2, o3.length - 1)), o3.includes(".") && (o3 = o3.substring(o3.indexOf(".") + 1)), y(k2.pageContext, o3, U);
88
91
  }
89
92
  }
90
- const o2 = F2.configure.props ? F2.configure.props.base : null;
93
+ const o2 = k2.configure.props ? k2.configure.props.base : null;
91
94
  if (o2 && o2.prop) {
92
95
  let e4 = o2.prop;
93
- e4 = _(e4), j(F2.pageContext, e4), F2.pageContext.propTitleMap = F2.pageContext.propTitleMap || {}, F2.pageContext.propTitleMap[e4] = o2.title ? o2.title : e4;
96
+ e4 = _(e4), M(k2.pageContext, e4), k2.pageContext.propTitleMap = k2.pageContext.propTitleMap || {}, k2.pageContext.propTitleMap[e4] = o2.title ? o2.title : e4;
94
97
  }
95
98
  !function() {
96
- if (!I.value) return;
97
- const e4 = A(F2.pageContext, F2.configure);
98
- "table" !== F2.configure.name && e4 && e4.isCalcHeight && d(() => {
99
+ if (!U.value) return;
100
+ const e4 = A(k2.pageContext, k2.configure);
101
+ "table" !== k2.configure.name && e4 && e4.isCalcHeight && C(() => {
99
102
  var _a2;
100
- if (!(((_a2 = I.value) == null ? void 0 : _a2.$el) || I.value)) return;
103
+ if (!(((_a2 = U.value) == null ? void 0 : _a2.$el) || U.value)) return;
101
104
  const e5 = (o3 = 0) => {
102
- if (!I.value) return;
103
- let t2 = I.value.$el || I.value;
105
+ if (!U.value) return;
106
+ let t2 = U.value.$el || U.value;
104
107
  if (!t2) return;
105
108
  const n2 = t2.getBoundingClientRect();
106
- null !== ee && Math.abs(n2.y - ee) < 1 ? Z() : o3 < 10 ? (ee = n2.y, oe = setTimeout(() => {
109
+ null !== ie && Math.abs(n2.y - ie) < 1 ? ne() : o3 < 10 ? (ie = n2.y, se = setTimeout(() => {
107
110
  e5(o3 + 1);
108
- }, 50)) : Z();
111
+ }, 50)) : ne();
109
112
  };
110
- ee = null, e5();
113
+ ie = null, e5();
111
114
  });
112
115
  }();
113
116
  }
114
- function Z() {
115
- if (!I.value) return;
116
- let e3 = I.value.$el;
117
- e3 || (e3 = I.value);
117
+ function ne() {
118
+ if (!U.value) return;
119
+ let e3 = U.value.$el;
120
+ e3 || (e3 = U.value);
118
121
  const o2 = e3.parentNode;
119
122
  if (!e3 || !o2) return;
120
123
  const t2 = e3.getBoundingClientRect();
121
- let n2 = window.innerHeight - t2.y - 30;
122
- window.innerHeight, t2.y;
123
- let i2 = n2 + "";
124
- if ("tabs" === F2.configure.name && F2.pageContext.isDialog && !R()) {
124
+ let n2 = window.innerHeight - t2.y - 30, i2 = n2 + "";
125
+ if ("tabs" === k2.configure.name && k2.pageContext.isDialog && !F()) {
125
126
  const o3 = e3.closest(".runtime-page-container");
126
127
  if (o3) {
127
128
  const e4 = o3.getBoundingClientRect(), s2 = t2.y - e4.y;
128
129
  n2 = e4.height - s2 - 30, i2 = n2 + "px";
129
130
  }
130
- } else H(n2) && (i2 = n2 + "px");
131
- K.value.height = i2, K.value["overflow-y"] = "auto", K.value["overflow-x"] = "hidden", F2.configure.sytle || (F2.configure.sytle = {}), F2.configure.sytle._heightStyle = i2;
131
+ } else $(n2) && (i2 = n2 + "px");
132
+ X.value.height = i2, X.value["overflow-y"] = "auto", X.value["overflow-x"] = "hidden", k2.configure.sytle || (k2.configure.sytle = {}), k2.configure.sytle._heightStyle = i2;
132
133
  }
133
- i(() => {
134
- var _a2, _b2, _c;
135
- te(), X.countComponentsLoadedNumber(), ((_c = (_b2 = (_a2 = F2.configure.props) == null ? void 0 : _a2.base) == null ? void 0 : _b2.autoAnchorConditions) == null ? void 0 : _c.length) > 0 && X.setAutoAnchorComponentConditions(F2.configure.uuid, F2.configure.props.base.autoAnchorConditions);
136
- }), s(() => {
137
- oe && clearTimeout(oe);
134
+ s(() => {
135
+ var _a2, _b2, _c2;
136
+ re(), oe.countComponentsLoadedNumber(), ((_c2 = (_b2 = (_a2 = k2.configure.props) == null ? void 0 : _a2.base) == null ? void 0 : _b2.autoAnchorConditions) == null ? void 0 : _c2.length) > 0 && oe.setAutoAnchorComponentConditions(k2.configure.uuid, k2.configure.props.base.autoAnchorConditions);
137
+ }), r(() => {
138
+ var _a2;
139
+ se && clearTimeout(se), E && ((_a2 = k2.pageContext.hiddenNotValidatorCodes) == null ? void 0 : _a2.delete(E));
138
140
  });
139
- let ee = null, oe = null;
140
- const te = () => {
141
- if (!I.value) return;
142
- let e3 = I.value.$el;
143
- e3 || (e3 = I.value);
141
+ let ie = null, se = null;
142
+ const re = () => {
143
+ if (!U.value) return;
144
+ let e3 = U.value.$el;
145
+ e3 || (e3 = U.value);
144
146
  const o2 = e3.parentNode;
145
147
  if (!e3 || !o2) return;
146
- const t2 = F2.configure.props ? F2.configure.props : {}, n2 = F2.configure.style ? F2.configure.style : {}, i2 = t2.position;
148
+ const t2 = k2.configure.props ? k2.configure.props : {}, n2 = k2.configure.style ? k2.configure.style : {}, i2 = t2.position;
147
149
  "top" == i2 || "bottom" == i2 || n2.position;
148
150
  };
149
- return (o2, t2) => l(J) && l(O)(e2.configure) ? r((p(), a(c(z.value), { key: 0, ref: Y, style: f(K.value), class: g(Q.value), configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["style", "class", "configure", "pageContext"])), [[m, l(W)]]) : u("", true);
151
+ return (e3, o2) => a(q) && a(P)(e3.configure) ? u((g(), p(c(K.value), { key: 0, ref: te, style: d(X.value), class: f(Y.value), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["style", "class", "configure", "pageContext"])), [[m, a(G)]]) : l("", true);
150
152
  } });
151
153
  export {
152
- F as default
154
+ k as default
153
155
  };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as o, createBlock as t, openBlock as e } from "vue";
2
2
  import p from "./workflow/component/workflow-opinion-box.vue.js";
3
- const n = o({ __name: "page-bottom", props: { pageContext: {} }, setup: (o2) => (n2, a) => (e(), t(p, { pageContext: o2.pageContext }, null, 8, ["pageContext"])) });
3
+ const n = o({ __name: "page-bottom", props: { pageContext: {} }, setup: (o2) => (o3, n2) => (e(), t(p, { pageContext: o3.pageContext }, null, 8, ["pageContext"])) });
4
4
  export {
5
5
  n as default
6
6
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./workflow-opinion-box.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const p = r(o, [["__scopeId", "data-v-cb803c7a"]]);
4
+ const e = r(o, [["__scopeId", "data-v-39a9ecda"]]);
5
5
  export {
6
- p as default
6
+ e as default
7
7
  };
@@ -1,24 +1,36 @@
1
- import { defineComponent as o, ref as e, watch as n, nextTick as t, resolveComponent as i, createBlock as l, createCommentVNode as a, openBlock as p, withCtx as u, createElementVNode as s, createElementBlock as r, createTextVNode as f, normalizeClass as c, createVNode as w } from "vue";
2
- import { addRequiredClassUtil as d } from "../../../../utils/common-util.js";
3
- const m = { style: { "background-color": "#ffffff" } }, x = { class: "opinion-box-table-wrapper" }, k = { class: "opinion-table" }, v = { class: "opinion-label" }, g = { key: 0, class: "required-star" }, b = o({ __name: "workflow-opinion-box", props: { pageContext: {} }, setup(o2) {
4
- const b2 = e(""), O = o2, C = e(), y = e("");
1
+ import { defineComponent as e, ref as o, onMounted as n, onUnmounted as l, watch as i, nextTick as t, resolveComponent as a, createElementBlock as s, openBlock as p, Fragment as u, createElementVNode as r, createCommentVNode as f, createBlock as c, normalizeStyle as v, Teleport as d, createTextVNode as w, normalizeClass as m, createVNode as x } from "vue";
2
+ import { addRequiredClassUtil as k } from "../../../../utils/common-util.js";
3
+ const y = { class: "opinion-box-table-wrapper" }, g = { class: "opinion-table" }, O = { class: "opinion-label" }, C = { key: 0, class: "required-star" }, b = e({ __name: "workflow-opinion-box", props: { pageContext: {} }, setup(e2) {
4
+ const b2 = e2, h = o(""), R = o(), _ = o(""), B = o(null), I = o(null), S = o(null), V = o(0);
5
+ let q = null;
5
6
  return n(() => {
6
7
  var _a;
7
- return (_a = O.pageContext.workflowOpinion) == null ? void 0 : _a.focusOpinionInput;
8
- }, (o3) => {
9
- o3 ? (y.value = d(), t(() => {
10
- var _a;
11
- ((_a = C.value) == null ? void 0 : _a.focus) && C.value.focus();
12
- })) : y.value = "";
13
- }, { immediate: true }), (e2, n2) => {
8
+ let e3 = ((_a = B.value) == null ? void 0 : _a.parentElement) ?? null, o2 = null;
9
+ for (; e3; ) {
10
+ if (e3.classList.contains("el-dialog")) return "static" === getComputedStyle(e3).position && (e3.style.position = "relative"), void (S.value = e3);
11
+ e3.classList.contains("app-container") && (o2 = e3), e3 = e3.parentElement;
12
+ }
13
+ o2 && ("static" === getComputedStyle(o2).position && (o2.style.position = "relative"), S.value = o2);
14
+ }), l(() => {
15
+ q == null ? void 0 : q.disconnect(), q = null;
16
+ }), i(I, (e3) => {
17
+ q == null ? void 0 : q.disconnect(), q = null, e3 ? (V.value = e3.offsetHeight, q = new ResizeObserver(() => {
18
+ V.value = e3.offsetHeight;
19
+ }), q.observe(e3)) : V.value = 0;
20
+ }), i(() => {
14
21
  var _a;
15
- const t2 = i("el-input"), d2 = i("el-affix");
16
- return ((_a = o2.pageContext.workflowOpinion) == null ? void 0 : _a.showOpinionBox) ? (p(), l(d2, { key: 0, target: ".app-container", position: "bottom", offset: 35 }, { default: u(() => {
17
- var _a2;
18
- return [s("div", m, [s("div", x, [s("table", k, [s("tbody", null, [s("tr", null, [s("td", v, [((_a2 = o2.pageContext.workflowOpinion) == null ? void 0 : _a2.isRequired) ? (p(), r("span", g, "*")) : a("", true), n2[2] || (n2[2] = f(" 处理意见 ", -1))]), s("td", { class: c(["opinion-input-cell", y.value]) }, [w(t2, { ref_key: "opinionInputRef", ref: C, modelValue: b2.value, "onUpdate:modelValue": n2[0] || (n2[0] = (o3) => b2.value = o3), autosize: { minRows: 2, maxRows: 4 }, type: "textarea", placeholder: "请输入处理意见", onChange: n2[1] || (n2[1] = (o3) => {
19
- O.pageContext.workflowOpinion && (O.pageContext.workflowOpinion.opinion = b2.value.trim(), O.pageContext.workflowOpinion.focusOpinionInput = false);
20
- }), class: "opinion-input" }, null, 8, ["modelValue"])], 2)])])])])])];
21
- }), _: 1 })) : a("", true);
22
+ return (_a = b2.pageContext.workflowOpinion) == null ? void 0 : _a.focusOpinionInput;
23
+ }, (e3) => {
24
+ e3 ? (_.value = k(), t(() => {
25
+ var _a;
26
+ ((_a = R.value) == null ? void 0 : _a.focus) && R.value.focus();
27
+ })) : _.value = "";
28
+ }, { immediate: true }), (e3, o2) => {
29
+ var _a, _b, _c;
30
+ const n2 = a("el-input");
31
+ return p(), s(u, null, [r("div", { ref_key: "sentinelRef", ref: B, style: { display: "none" }, id: "sentinelRef" }, null, 512), ((_a = e3.pageContext.workflowOpinion) == null ? void 0 : _a.showOpinionBox) && S.value ? (p(), s("div", { key: 0, style: v({ height: V.value + "px", width: "100%", flexShrink: 0 }) }, null, 4)) : f("", true), S.value ? (p(), c(d, { key: 1, to: S.value }, [((_b = e3.pageContext.workflowOpinion) == null ? void 0 : _b.showOpinionBox) ? (p(), s("div", { key: 0, ref_key: "opinionBarRef", ref: I, class: "opinion-fixed-bar" }, [r("div", y, [r("table", g, [r("tbody", null, [r("tr", null, [r("td", O, [((_c = e3.pageContext.workflowOpinion) == null ? void 0 : _c.isRequired) ? (p(), s("span", C, "*")) : f("", true), o2[2] || (o2[2] = w(" 处理意见 "))]), r("td", { class: m(["opinion-input-cell", _.value]) }, [x(n2, { ref_key: "opinionInputRef", ref: R, modelValue: h.value, "onUpdate:modelValue": o2[0] || (o2[0] = (e4) => h.value = e4), autosize: { minRows: 2, maxRows: 4 }, type: "textarea", placeholder: "请输入处理意见", onChange: o2[1] || (o2[1] = (e4) => {
32
+ b2.pageContext.workflowOpinion && (b2.pageContext.workflowOpinion.opinion = h.value.trim(), b2.pageContext.workflowOpinion.focusOpinionInput = false);
33
+ }), class: "opinion-input" }, null, 8, ["modelValue"])], 2)])])])])], 512)) : f("", true)], 8, ["to"])) : f("", true)], 64);
22
34
  };
23
35
  } });
24
36
  export {
@@ -20,7 +20,7 @@ const g = { class: "dialog-footer" }, _ = e({ __name: "extract-workflow-runtime-
20
20
  return w.props && (true === w.props.requireExtractTransactor && (h.value.loginName = [{ required: true, message: "请选择办理人", trigger: "blur" }]), true === w.props.isMustOpinion && (h.value.opinion = [{ required: true, message: "请输入意见", trigger: "change" }])), o(() => {
21
21
  }), (e3, l2) => {
22
22
  const o2 = a("el-icon"), s2 = a("el-input"), _3 = a("el-form-item"), x2 = a("el-form"), y2 = a("el-button"), w2 = a("el-dialog");
23
- return n(), i(w2, { modelValue: N.value, "onUpdate:modelValue": l2[5] || (l2[5] = (e4) => N.value = e4), title: "选择办理人", width: "500" }, { footer: t(() => [p("div", g, [u(y2, { onClick: l2[4] || (l2[4] = (e4) => N.value = false) }, { default: t(() => [...l2[6] || (l2[6] = [d("取消", -1)])]), _: 1 }), u(y2, { type: "primary", onClick: j }, { default: t(() => [...l2[7] || (l2[7] = [d(" 确定 ", -1)])]), _: 1 })])]), default: t(() => [u(x2, { ref_key: "ruleFormRef", ref: C, style: { "max-width": "600px" }, model: b.value, rules: h.value, "label-width": "auto" }, { default: t(() => [u(_3, { label: "办理人", prop: "loginName" }, { default: t(() => [u(s2, { "model-value": b.value.name, readonly: true, type: "text", placeholder: "选择办理人", onClick: l2[2] || (l2[2] = (e4) => V()) }, { append: t(() => [u(o2, { class: "el-input__icon", onClick: l2[0] || (l2[0] = (e4) => V()) }, { default: t(() => [u(m(f))]), _: 1 }), u(o2, { class: "el-input__icon", onClick: l2[1] || (l2[1] = (e4) => (b.value.loginName = "", void (b.value.name = ""))) }, { default: t(() => [u(m(c))]), _: 1 })]), _: 1 }, 8, ["model-value"])]), _: 1 }), u(_3, { label: "意见", prop: "opinion" }, { default: t(() => [u(s2, { modelValue: b.value.opinion, "onUpdate:modelValue": l2[3] || (l2[3] = (e4) => b.value.opinion = e4), type: "textarea" }, null, 8, ["modelValue"])]), _: 1 }), k.value ? (n(), i(m(v), { key: 0, width: "60%", multiple: false, onClose: q })) : r("", true)]), _: 1 }, 8, ["model", "rules"])]), _: 1 }, 8, ["modelValue"]);
23
+ return n(), i(w2, { modelValue: N.value, "onUpdate:modelValue": l2[5] || (l2[5] = (e4) => N.value = e4), title: "选择办理人", width: "500" }, { footer: t(() => [p("div", g, [u(y2, { onClick: l2[4] || (l2[4] = (e4) => N.value = false) }, { default: t(() => l2[6] || (l2[6] = [d("取消")])), _: 1 }), u(y2, { type: "primary", onClick: j }, { default: t(() => l2[7] || (l2[7] = [d(" 确定 ")])), _: 1 })])]), default: t(() => [u(x2, { ref_key: "ruleFormRef", ref: C, style: { "max-width": "600px" }, model: b.value, rules: h.value, "label-width": "auto" }, { default: t(() => [u(_3, { label: "办理人", prop: "loginName" }, { default: t(() => [u(s2, { "model-value": b.value.name, readonly: true, type: "text", placeholder: "选择办理人", onClick: l2[2] || (l2[2] = (e4) => V()) }, { append: t(() => [u(o2, { class: "el-input__icon", onClick: l2[0] || (l2[0] = (e4) => V()) }, { default: t(() => [u(m(f))]), _: 1 }), u(o2, { class: "el-input__icon", onClick: l2[1] || (l2[1] = (e4) => (b.value.loginName = "", void (b.value.name = ""))) }, { default: t(() => [u(m(c))]), _: 1 })]), _: 1 }, 8, ["model-value"])]), _: 1 }), u(_3, { label: "意见", prop: "opinion" }, { default: t(() => [u(s2, { modelValue: b.value.opinion, "onUpdate:modelValue": l2[3] || (l2[3] = (e4) => b.value.opinion = e4), type: "textarea" }, null, 8, ["modelValue"])]), _: 1 }), k.value ? (n(), i(m(v), { key: 0, width: "60%", multiple: false, onClose: q })) : r("", true)]), _: 1 }, 8, ["model", "rules"])]), _: 1 }, 8, ["modelValue"]);
24
24
  };
25
25
  } });
26
26
  export {
@@ -37,7 +37,7 @@ const w = { class: "page-runtime-header-btn" }, V = { class: "dialog-footer" },
37
37
  _(l3).then((e6) => {
38
38
  e6.canExecute && (j.value = true);
39
39
  });
40
- }()) }, { default: s(() => [d(m(c(k)(M.value.title)), 1)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "round", "plain", "loading"]), u(F2, { modelValue: j.value, "onUpdate:modelValue": l2[6] || (l2[6] = (e4) => j.value = e4), title: "选择办理人", width: "500" }, { footer: s(() => [v("div", V, [u(o2, { onClick: l2[5] || (l2[5] = (e4) => j.value = false) }, { default: s(() => [...l2[7] || (l2[7] = [d("取消", -1)])]), _: 1 }), u(o2, { type: "primary", onClick: H }, { default: s(() => [...l2[8] || (l2[8] = [d(" 确定 ", -1)])]), _: 1 })])]), default: s(() => [u(U3, { ref_key: "ruleFormRef", ref: z, style: { "max-width": "600px" }, model: E.value, rules: D.value, "label-width": "auto" }, { default: s(() => [u(C2, { label: "办理人", prop: "loginName" }, { default: s(() => [u(x2, { "model-value": E.value.name, readonly: true, type: "text", placeholder: "选择办理人", onClick: l2[3] || (l2[3] = (e4) => B()) }, { append: s(() => [u(a2, { class: "el-input__icon", onClick: l2[1] || (l2[1] = (e4) => B()) }, { default: s(() => [u(c(h))]), _: 1 }), u(a2, { class: "el-input__icon", onClick: l2[2] || (l2[2] = (e4) => (E.value.loginName = "", void (E.value.name = ""))) }, { default: s(() => [u(c(N))]), _: 1 })]), _: 1 }, 8, ["model-value"])]), _: 1 }), u(C2, { label: "意见", prop: "opinion" }, { default: s(() => [u(x2, { modelValue: E.value.opinion, "onUpdate:modelValue": l2[4] || (l2[4] = (e4) => E.value.opinion = e4), type: "textarea" }, null, 8, ["modelValue"])]), _: 1 }), R.value ? (i(), f(c(b), { key: 0, width: "60%", multiple: false, onClose: G })) : g("", true)]), _: 1 }, 8, ["model", "rules"])]), _: 1 }, 8, ["modelValue"])]);
40
+ }()) }, { default: s(() => [d(m(c(k)(M.value.title)), 1)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "round", "plain", "loading"]), u(F2, { modelValue: j.value, "onUpdate:modelValue": l2[6] || (l2[6] = (e4) => j.value = e4), title: "选择办理人", width: "500" }, { footer: s(() => [v("div", V, [u(o2, { onClick: l2[5] || (l2[5] = (e4) => j.value = false) }, { default: s(() => l2[7] || (l2[7] = [d("取消")])), _: 1 }), u(o2, { type: "primary", onClick: H }, { default: s(() => l2[8] || (l2[8] = [d(" 确定 ")])), _: 1 })])]), default: s(() => [u(U3, { ref_key: "ruleFormRef", ref: z, style: { "max-width": "600px" }, model: E.value, rules: D.value, "label-width": "auto" }, { default: s(() => [u(C2, { label: "办理人", prop: "loginName" }, { default: s(() => [u(x2, { "model-value": E.value.name, readonly: true, type: "text", placeholder: "选择办理人", onClick: l2[3] || (l2[3] = (e4) => B()) }, { append: s(() => [u(a2, { class: "el-input__icon", onClick: l2[1] || (l2[1] = (e4) => B()) }, { default: s(() => [u(c(h))]), _: 1 }), u(a2, { class: "el-input__icon", onClick: l2[2] || (l2[2] = (e4) => (E.value.loginName = "", void (E.value.name = ""))) }, { default: s(() => [u(c(N))]), _: 1 })]), _: 1 }, 8, ["model-value"])]), _: 1 }), u(C2, { label: "意见", prop: "opinion" }, { default: s(() => [u(x2, { modelValue: E.value.opinion, "onUpdate:modelValue": l2[4] || (l2[4] = (e4) => E.value.opinion = e4), type: "textarea" }, null, 8, ["modelValue"])]), _: 1 }), R.value ? (i(), f(c(b), { key: 0, width: "60%", multiple: false, onClose: G })) : g("", true)]), _: 1 }, 8, ["model", "rules"])]), _: 1 }, 8, ["modelValue"])]);
41
41
  };
42
42
  } });
43
43
  export {
@@ -1,7 +1,7 @@
1
1
  import o from "./workflowbutton-runtime.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = t(o, [["__scopeId", "data-v-9b35b120"]]);
4
+ const r = t(o, [["__scopeId", "data-v-23637db8"]]);
5
5
  export {
6
6
  r as default
7
7
  };