super-page-runtime 2.3.47-sit2 → 2.3.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/components/runtime/utils/api/page-expose-util.js +136 -136
- package/dist/es/components/runtime/utils/events/event-util.js +121 -121
- package/dist/es/components/runtime/utils/events/print-label.js +34 -33
- package/dist/es/components/runtime/utils/events/standard-event.js +22 -22
- package/dist/es/components/runtime/utils/events/validator-util.js +209 -206
- package/dist/es/components/runtime/utils/page-init-util.js +47 -45
- package/dist/es/components/runtime/utils/table-utils.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/button/{button-runtime2.vue.js → button-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/button-group/{buttongroup-runtime2.vue.js → buttongroup-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/dropdown/{dropdown-runtime2.vue.js → dropdown-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/{exportpdf-runtime2.vue.js → exportpdf-runtime.vue2.js} +3 -3
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/print-label/{printlabel-runtime2.vue.js → printlabel-runtime.vue2.js} +3 -3
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/column-line/{column-line-runtime2.vue.js → column-line-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +10 -6
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +9 -7
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/common/{common-homepage-search2.vue.js → common-homepage-search.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.js +9 -9
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/gauge/{gauge-runtime2.vue.js → gauge-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/pie/{pie-runtime2.vue.js → pie-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/radar/{radar-runtime2.vue.js → radar-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/scatter/{scatter-runtime2.vue.js → scatter-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +104 -99
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/table/{table-runtime2.vue.js → table-runtime.vue2.js} +9 -9
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +13 -13
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +11 -9
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/card/{card-runtime2.vue.js → card-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/collapse/{collapse-runtime2.vue.js → collapse-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/container/{container-runtime2.vue.js → container-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/fixed/{FixedBox2.vue.js → FixedBox.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/fixed/{YxAffix2.vue.js → YxAffix.vue2.js} +4 -2
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/flex/{flex-runtime2.vue.js → flex-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/form/{form-runtime2.vue.js → form-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/iframe/{iframe-runtime2.vue.js → iframe-runtime.vue2.js} +5 -5
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/tabs/{tabs-runtime2.vue.js → tabs-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/tools/{tools-runtime2.vue.js → tools-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/data/bar-code/{barcode-runtime2.vue.js → barcode-runtime.vue2.js} +11 -9
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/data/table/{table-runtime2.vue.js → table-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/data/tree/{tree-runtime2.vue.js → tree-runtime.vue2.js} +5 -5
- package/dist/es/components/runtime/views/assemblys/error-render.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/checkbox/{checkbox-runtime2.vue.js → checkbox-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/custom/{custom-runtime2.vue.js → custom-runtime.vue2.js} +4 -4
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +102 -0
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/{depttree-runtime2.vue.js → depttree-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/divider/{divider-runtime2.vue.js → divider-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/file-upload/{fileupload-runtime2.vue.js → fileupload-runtime.vue2.js} +7 -5
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/image-upload/{imageupload-runtime2.vue.js → imageupload-runtime.vue2.js} +5 -4
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/input-number/{input-number-runtime2.vue.js → input-number-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +81 -0
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/label/{label-runtime2.vue.js → label-runtime.vue2.js} +5 -3
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/link/{link-runtime2.vue.js → link-runtime.vue2.js} +8 -6
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/placeholder/{placeholder-runtime2.vue.js → placeholder-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/radio/{radio-runtime2.vue.js → radio-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/rich-text/{richtext-runtime2.vue.js → richtext-runtime.vue2.js} +4 -4
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/select/{select-runtime2.vue.js → select-runtime.vue2.js} +8 -7
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/{separatelabel-runtime2.vue.js → separatelabel-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/switch/{switch-runtime2.vue.js → switch-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/tag/{tag-runtime2.vue.js → tag-runtime.vue2.js} +3 -3
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/textarea/{textarea-runtime2.vue.js → textarea-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +12 -10
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/component/{workflow-opinion-box2.vue.js → workflow-opinion-box.vue2.js} +3 -3
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/{extract-workflow-runtime-dialog2.vue.js → extract-workflow-runtime-dialog.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/{extract-workflow-runtime2.vue.js → extract-workflow-runtime.vue2.js} +3 -3
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/{pictureflow-runtime2.vue.js → pictureflow-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/{textflow-runtime2.vue.js → textflow-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/{workflowbutton-runtime2.vue.js → workflowbutton-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/{workflownode-runtime2.vue.js → workflownode-runtime.vue2.js} +2 -2
- package/dist/es/components/runtime/views/home-chart.vue.js +8 -8
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +7 -6
- package/dist/es/components/runtime/views/super-page.vue.d.ts +2 -2
- package/dist/es/components/runtime/views/super-page.vue.js +1 -1
- package/dist/es/components/runtime/views/{super-page2.vue.js → super-page.vue2.js} +99 -98
- package/package.json +2 -2
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.js +0 -102
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.js +0 -80
- /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header-breadcrumb2.vue.js → common-chart-header-breadcrumb.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header-group2.vue.js → common-chart-header-group.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header2.vue.js → common-chart-header.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/common/{home-chart-condition-render2.vue.js → home-chart-condition-render.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/table/{group-column-item2.vue.js → group-column-item.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/table/{group-column2.vue.js → group-column.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/table/{normal-column2.vue.js → normal-column.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/table/{table-pageination2.vue.js → table-pageination.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{event-call-component2.vue.js → event-call-component.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{export-form-report-dialog2.vue.js → export-form-report-dialog.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{file-task-notice2.vue.js → file-task-notice.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{format-file-task-notice-message2.vue.js → format-file-task-notice-message.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{remove-signer-dialog2.vue.js → remove-signer-dialog.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{remove-signer-table2.vue.js → remove-signer-table.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{remove-transactor-dialog2.vue.js → remove-transactor-dialog.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{save-chart-condition-dialog2.vue.js → save-chart-condition-dialog.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{task-informition-dialog2.vue.js → task-informition-dialog.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/data/table/{main-table-runtime2.vue.js → main-table-runtime.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/data/table/{sub-table-runtime2.vue.js → sub-table-runtime.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/{error-render2.vue.js → error-render.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/form/common/{title-suffix-element2.vue.js → title-suffix-element.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/{home-chart-render2.vue.js → home-chart-render.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/{object-render2.vue.js → object-render.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/{page-bottom2.vue.js → page-bottom.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/{home-chart2.vue.js → home-chart.vue2.js} +0 -0
- /package/dist/es/components/runtime/views/{super-page-dialog3.vue.js → super-page-dialog.vue3.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, computed as l, onMounted as a, nextTick as i, resolveComponent as o,
|
|
1
|
+
import { defineComponent as e, ref as t, computed as l, onMounted as a, nextTick as i, resolveComponent as o, createBlock as n, openBlock as r, normalizeStyle as u, normalizeClass as s, unref as p, withCtx as c, createElementBlock as f, Fragment as g, renderList as m, createTextVNode as v, toDisplayString as y, createCommentVNode as d } from "vue";
|
|
2
2
|
import { getFormModelFields as x } from "../../../../utils/page-init-util.js";
|
|
3
3
|
import { getVariableValue as C, setVariableValue as b } from "../../../../utils/page-helper-util.js";
|
|
4
4
|
import { handleAfterInitEvent as h, handleFormEvent as k } from "../../../../utils/events/event-util.js";
|
|
@@ -26,7 +26,7 @@ const j = e({ __name: "tag-runtime", props: { pageContext: {}, configure: {} },
|
|
|
26
26
|
});
|
|
27
27
|
}), (t2, l2) => {
|
|
28
28
|
const a2 = o("el-tag"), i2 = o("el-form-item");
|
|
29
|
-
return
|
|
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) {
|
|
30
30
|
if (I.value.closable) {
|
|
31
31
|
let e5 = C(D, A);
|
|
32
32
|
null == e5 && (e5 = []);
|
|
@@ -36,7 +36,7 @@ const j = e({ __name: "tag-runtime", props: { pageContext: {}, configure: {} },
|
|
|
36
36
|
a3 > -1 && e5.splice(a3, 1), l3 || (e5 = e5.join(",")), b(D, A, e5);
|
|
37
37
|
}
|
|
38
38
|
k(e4, j2.pageContext, j2.configure, "remove");
|
|
39
|
-
}(e3, t3), onClick: l2[0] || (l2[0] = (t4) =>
|
|
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"]);
|
|
40
40
|
};
|
|
41
41
|
} });
|
|
42
42
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, computed as l, onMounted as a, nextTick as o, resolveComponent as n,
|
|
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
3
|
import { setVariableValue as C, getVariableValue as b } from "../../../../utils/page-helper-util.js";
|
|
4
4
|
import { handleAfterInitEvent as w, handleFormEvent as k } from "../../../../utils/events/event-util.js";
|
|
@@ -20,7 +20,7 @@ const q = e({ __name: "textarea-runtime", props: { pageContext: {}, configure: {
|
|
|
20
20
|
z.value = _();
|
|
21
21
|
} }), (t2, l2) => {
|
|
22
22
|
const a2 = n("el-input"), o2 = n("el-form-item");
|
|
23
|
-
return
|
|
23
|
+
return r(), u("div", null, [i(o2, { 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(a2, { ref_key: "componentRef", ref: A, disabled: "disabled" === E.value.state, readonly: "readonly" === E.value.state, size: E.value.size, clearable: E.value.clearable, placeholder: m(j)(E.value.placeholder), modelValue: B.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => B.value = e3), 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: l2[1] || (l2[1] = (t3) => m(k)(t3, e2.pageContext, e2.configure, "input")), onChange: l2[2] || (l2[2] = (t3) => m(k)(t3, e2.pageContext, e2.configure, "change")), onBlur: l2[3] || (l2[3] = (t3) => m(k)(t3, e2.pageContext, e2.configure, "blur")), onFocus: l2[4] || (l2[4] = (t3) => m(k)(t3, e2.pageContext, e2.configure, "focus")), onClick: l2[5] || (l2[5] = (t3) => m(k)(t3, e2.pageContext, e2.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: e2.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 {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as o, markRaw as t, onMounted as n, resolveDirective as i,
|
|
1
|
+
import { defineComponent as e, ref as o, markRaw as t, onMounted as n, resolveDirective as i, withDirectives as r, createCommentVNode as s, unref as u, createBlock as l, openBlock as c, resolveDynamicComponent as g, normalizeClass as f, normalizeStyle as a, vShow as p, nextTick as m } from "vue";
|
|
2
2
|
import v from "./error-render.vue.js";
|
|
3
3
|
import { getRuntimeComponentByName as d } from "../../utils/assemblys-config.js";
|
|
4
4
|
import { PageDimensions as y } from "../../utils/interfaces/page-design-types.js";
|
|
@@ -75,7 +75,7 @@ const H = e({ __name: "home-chart-render", props: { pageContext: {}, configure:
|
|
|
75
75
|
};
|
|
76
76
|
return (o2, t2) => {
|
|
77
77
|
const n2 = i("permission");
|
|
78
|
-
return
|
|
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);
|
|
79
79
|
};
|
|
80
80
|
} });
|
|
81
81
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as o, computed as t, watch as n, markRaw as i, onMounted as r, onUnmounted as s,
|
|
1
|
+
import { defineComponent as e, ref as o, computed as t, watch as n, markRaw as i, onMounted as r, onUnmounted as s, 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
2
|
import v from "./error-render.vue.js";
|
|
3
3
|
import { getRuntimeComponentByName as h } from "../../utils/assemblys-config.js";
|
|
4
4
|
import { PageDimensions as b } from "../../utils/interfaces/page-design-types.js";
|
|
@@ -6,9 +6,9 @@ import { addComponentRef as x, addComponentRefByCode as y } from "../../utils/gl
|
|
|
6
6
|
import { getPermissionCodes as w, packageFormRules as j, getModelFields as N, controlObjectRenderState as M } from "../../utils/page-init-util.js";
|
|
7
7
|
import { caculateShowCondition as V, getFormPropName as _, getSizeConfig as A } from "../../utils/page-helper-util.js";
|
|
8
8
|
import { isWorkflowPage as S, getPropClassName as T, isNumber as $ } from "../../utils/common-util.js";
|
|
9
|
-
import { isShowMobileEvent as
|
|
10
|
-
import { usePageContextStore as
|
|
11
|
-
import { isHasFieldAuth as
|
|
9
|
+
import { isShowMobileEvent as H, isShowComponent as O } from "../../utils/events/event-util.js";
|
|
10
|
+
import { usePageContextStore as P } from "../../utils/page-store.js";
|
|
11
|
+
import { isHasFieldAuth as B } from "../../utils/table-utils.js";
|
|
12
12
|
import { checkPermission as R } from "agilebuilder-ui/src/utils/permission.js";
|
|
13
13
|
import { isMobileBrowser as F } from "agilebuilder-ui/src/utils/common-util";
|
|
14
14
|
const L = e({ __name: "object-render", props: { pageContext: {}, configure: {} }, setup(e2) {
|
|
@@ -17,7 +17,7 @@ const L = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
|
|
|
17
17
|
null == L2.configure.style && (L2.configure.style = {});
|
|
18
18
|
let k = null, D = w(L2.configure, L2.pageContext);
|
|
19
19
|
L2.configure && L2.configure.props && L2.configure.props.base && (L2.configure.props.base.functionCode = D);
|
|
20
|
-
const E = R(D || "true", L2.pageContext.systemCode), J =
|
|
20
|
+
const E = R(D || "true", L2.pageContext.systemCode), J = B(L2.pageContext, L2.configure), W = E && J;
|
|
21
21
|
L2.configure && L2.configure.props && L2.configure.props.base && (L2.configure.props.base.isHasFieldAuthPermission = W), j(L2.pageContext, L2.configure, W);
|
|
22
22
|
let q = o(null), z = o(true), G = o("");
|
|
23
23
|
if (L2.configure && L2.configure.props) {
|
|
@@ -26,7 +26,7 @@ const L = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
|
|
|
26
26
|
var _a2;
|
|
27
27
|
let o2 = true;
|
|
28
28
|
if (W) if (q.value && null !== q.value) o2 = "show" === q.value;
|
|
29
|
-
else if (
|
|
29
|
+
else if (H(L2.pageContext, L2.configure)) if (e3 && e3.length > 0) o2 = V(L2.pageContext, e3);
|
|
30
30
|
else {
|
|
31
31
|
const e4 = (_a2 = L2.configure.props.base) == null ? void 0 : _a2.state;
|
|
32
32
|
e4 && "hidden" === e4 && (o2 = false);
|
|
@@ -80,7 +80,7 @@ const L = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
|
|
|
80
80
|
const t2 = Z.style[e3 + "_class"];
|
|
81
81
|
t2 && (X.value += " " + t2);
|
|
82
82
|
}
|
|
83
|
-
const ee =
|
|
83
|
+
const ee = P();
|
|
84
84
|
let oe = false;
|
|
85
85
|
function te(e3) {
|
|
86
86
|
var _a2, _b2, _c2;
|
|
@@ -131,7 +131,9 @@ const L = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
|
|
|
131
131
|
const o2 = e3.parentNode;
|
|
132
132
|
if (!e3 || !o2) return;
|
|
133
133
|
const t2 = e3.getBoundingClientRect();
|
|
134
|
-
let n2 = window.innerHeight - t2.y - 30
|
|
134
|
+
let n2 = window.innerHeight - t2.y - 30;
|
|
135
|
+
window.innerHeight, t2.y;
|
|
136
|
+
let i2 = n2 + "";
|
|
135
137
|
if ("tabs" === L2.configure.name && L2.pageContext.isDialog && !F()) {
|
|
136
138
|
const o3 = e3.closest(".runtime-page-container");
|
|
137
139
|
if (o3) {
|
|
@@ -142,7 +144,7 @@ const L = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
|
|
|
142
144
|
U.value.height = i2, U.value["overflow-y"] = "auto", U.value["overflow-x"] = "hidden", L2.configure.sytle || (L2.configure.sytle = {}), L2.configure.sytle._heightStyle = i2;
|
|
143
145
|
}
|
|
144
146
|
r(() => {
|
|
145
|
-
W &&
|
|
147
|
+
W && O(L2.configure) || ee.countComponentsLoadedNumber();
|
|
146
148
|
}), s(() => {
|
|
147
149
|
var _a2;
|
|
148
150
|
re && clearTimeout(re), k && ((_a2 = L2.pageContext.hiddenNotValidatorCodes) == null ? void 0 : _a2.delete(k));
|
|
@@ -157,7 +159,7 @@ const L = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
|
|
|
157
159
|
const t2 = L2.configure.props ? L2.configure.props : {}, n2 = L2.configure.style ? L2.configure.style : {}, i2 = t2.position;
|
|
158
160
|
"top" == i2 || "bottom" == i2 || n2.position;
|
|
159
161
|
};
|
|
160
|
-
return (o2, t2) =>
|
|
162
|
+
return (o2, t2) => a(W) && a(O)(e2.configure) ? u((g(), p(c(I.value), { key: 0, ref: te, style: d(U.value), class: f(X.value), configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["style", "class", "configure", "pageContext"])), [[m, a(z)]]) : l("", true);
|
|
161
163
|
} });
|
|
162
164
|
export {
|
|
163
165
|
L as default
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as o,
|
|
1
|
+
import { defineComponent as o, createBlock as e, createCommentVNode as t, openBlock as n } from "vue";
|
|
2
2
|
import p from "./workflow/component/workflow-opinion-box.vue.js";
|
|
3
3
|
const a = o({ __name: "page-bottom", props: { pageContext: {} }, setup: (o2) => (a2, r) => {
|
|
4
4
|
var _a;
|
|
5
|
-
return ((_a = o2.pageContext.workflowOpinion) == null ? void 0 : _a.showOpinionBox) ? (
|
|
5
|
+
return ((_a = o2.pageContext.workflowOpinion) == null ? void 0 : _a.showOpinionBox) ? (n(), e(p, { key: 0, pageContext: o2.pageContext }, null, 8, ["pageContext"])) : t("", true);
|
|
6
6
|
} });
|
|
7
7
|
export {
|
|
8
8
|
a as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as n, computed as o, onMounted as l, onUnmounted as i, watch as t, nextTick as a, resolveComponent as u,
|
|
1
|
+
import { defineComponent as e, ref as n, computed as o, onMounted as l, onUnmounted as i, watch as t, nextTick as a, resolveComponent as u, createElementBlock as s, openBlock as r, Fragment as p, createElementVNode as w, createCommentVNode as f, createBlock as d, normalizeStyle as v, Teleport as c, withDirectives as x, createTextVNode as g, toDisplayString as m, unref as k, normalizeClass as O, createVNode as b, vShow as h } from "vue";
|
|
2
2
|
import { addRequiredClassUtil as C } from "../../../../utils/common-util.js";
|
|
3
3
|
import { $t as y } from "../../../../utils/i18n-util.js";
|
|
4
4
|
const R = { class: "opinion-box-table-wrapper" }, I = { class: "opinion-table" }, E = { class: "opinion-label" }, z = { key: 0, class: "required-star" }, L = e({ __name: "workflow-opinion-box", props: { pageContext: {} }, setup(e2, { expose: L2 }) {
|
|
@@ -46,9 +46,9 @@ const R = { class: "opinion-box-table-wrapper" }, I = { class: "opinion-table" }
|
|
|
46
46
|
return L2(J), (n2, o2) => {
|
|
47
47
|
var _a, _b, _c;
|
|
48
48
|
const l2 = u("el-input");
|
|
49
|
-
return
|
|
49
|
+
return r(), s(p, null, [w("div", { ref_key: "sentinelRef", ref: j, style: { display: "none" } }, null, 512), ((_a = e2.pageContext.workflowOpinion) == null ? void 0 : _a.showOpinionBox) ? (r(), s("div", { key: 0, style: v({ height: M.value + "px", width: "100%", flexShrink: 0 }) }, null, 4)) : f("", true), (r(), d(c, { to: "body" }, [((_b = e2.pageContext.workflowOpinion) == null ? void 0 : _b.showOpinionBox) ? x((r(), s("div", { key: 0, ref_key: "opinionBarRef", ref: q, class: "opinion-fixed-bar", style: v(D.value) }, [w("div", R, [w("table", I, [w("tbody", null, [w("tr", null, [w("td", E, [((_c = e2.pageContext.workflowOpinion) == null ? void 0 : _c.isRequired) ? (r(), s("span", z, "*")) : f("", true), g(" " + m(k(y)("superPageRuntimeMessage.handleOpinion")), 1)]), w("td", { class: O(["opinion-input-cell", V.value]) }, [b(l2, { ref_key: "opinionInputRef", ref: H, modelValue: B.value, "onUpdate:modelValue": o2[0] || (o2[0] = (e3) => B.value = e3), autosize: { minRows: 2, maxRows: 4 }, type: "textarea", placeholder: k(y)("superPageRuntimeMessage.pleaseInputHandleOpinion"), onChange: o2[1] || (o2[1] = (e3) => {
|
|
50
50
|
_.pageContext.workflowOpinion && (_.pageContext.workflowOpinion.opinion = B.value.trim(), _.pageContext.workflowOpinion.focusOpinionInput = false);
|
|
51
|
-
}), class: "opinion-input" }, null, 8, ["modelValue", "placeholder"])], 2)])])])])], 4)), [[h, A.value]]) :
|
|
51
|
+
}), class: "opinion-input" }, null, 8, ["modelValue", "placeholder"])], 2)])])])])], 4)), [[h, A.value]]) : f("", true)]))], 64);
|
|
52
52
|
};
|
|
53
53
|
} });
|
|
54
54
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, onMounted as a, resolveComponent as o,
|
|
1
|
+
import { defineComponent as e, ref as l, onMounted as a, resolveComponent as o, createBlock as t, openBlock as n, unref as i, withCtx as u, createVNode as r, createCommentVNode as s, createElementVNode as p, createTextVNode as m, toDisplayString as g } from "vue";
|
|
2
2
|
import { extractWorkflowFunc as d } from "../../../../utils/events/standard-event.js";
|
|
3
3
|
import { DepartmentUserTree as c } from "agilebuilder-ui";
|
|
4
4
|
import { Search as v, Delete as f } from "@element-plus/icons-vue";
|
|
@@ -21,7 +21,7 @@ const x = { class: "dialog-footer" }, y = e({ __name: "extract-workflow-runtime-
|
|
|
21
21
|
return P.props && (true === P.props.requireExtractTransactor && (N.value.loginName = [{ required: true, message: _("superPageRuntimeMessage.pleaseSelectTransactor"), trigger: "blur" }]), true === P.props.isMustOpinion && (N.value.opinion = [{ required: true, message: _("superPageRuntimeMessage.pleaseInputOpinion"), trigger: "change" }])), a(() => {
|
|
22
22
|
}), (e3, l2) => {
|
|
23
23
|
const a2 = o("el-icon"), d2 = o("el-input"), y3 = o("el-form-item"), b2 = o("el-form"), C2 = o("el-button"), P2 = o("el-dialog");
|
|
24
|
-
return
|
|
24
|
+
return n(), t(P2, { modelValue: h.value, "onUpdate:modelValue": l2[5] || (l2[5] = (e4) => h.value = e4), title: i(_)("superPageRuntimeMessage.selectTransactor"), width: "500" }, { footer: u(() => [p("div", x, [r(C2, { onClick: l2[4] || (l2[4] = (e4) => h.value = false) }, { default: u(() => [m(g(i(_)("superPageRuntimeMessage.cancel")), 1)]), _: 1 }), r(C2, { type: "primary", onClick: T }, { default: u(() => [m(g(i(_)("superPageRuntimeMessage.sure")), 1)]), _: 1 })])]), default: u(() => [r(b2, { ref_key: "ruleFormRef", ref: M, style: { "max-width": "600px" }, model: k.value, rules: N.value, "label-width": "auto" }, { default: u(() => [r(y3, { label: i(_)("superPageRuntimeMessage.transactorUser"), prop: "loginName" }, { default: u(() => [r(d2, { "model-value": k.value.name, readonly: true, type: "text", placeholder: i(_)("superPageRuntimeMessage.pleaseSelectTransactor"), onClick: l2[2] || (l2[2] = (e4) => w()) }, { append: u(() => [r(a2, { class: "el-input__icon", onClick: l2[0] || (l2[0] = (e4) => w()) }, { default: u(() => [r(i(v))]), _: 1 }), r(a2, { class: "el-input__icon", onClick: l2[1] || (l2[1] = (e4) => (k.value.loginName = "", void (k.value.name = ""))) }, { default: u(() => [r(i(f))]), _: 1 })]), _: 1 }, 8, ["model-value", "placeholder"])]), _: 1 }, 8, ["label"]), r(y3, { label: i(_)("superPageRuntimeMessage.opinion"), prop: "opinion" }, { default: u(() => [r(d2, { modelValue: k.value.opinion, "onUpdate:modelValue": l2[3] || (l2[3] = (e4) => k.value.opinion = e4), type: "textarea" }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), R.value ? (n(), t(i(c), { key: 0, width: "60%", multiple: false, onClose: V })) : s("", true)]), _: 1 }, 8, ["model", "rules"])]), _: 1 }, 8, ["modelValue", "title"]);
|
|
25
25
|
};
|
|
26
26
|
} });
|
|
27
27
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as l, onMounted as a, nextTick as n, resolveComponent as t,
|
|
1
|
+
import { defineComponent as e, ref as l, onMounted as a, nextTick as n, resolveComponent as t, createElementBlock as o, openBlock as i, createVNode as u, normalizeStyle as r, normalizeClass as s, unref as p, withCtx as c, createTextVNode as m, toDisplayString as g, createBlock as d, createCommentVNode as f, createElementVNode as v } from "vue";
|
|
2
2
|
import { handleAfterInitEvent as x, handleEvent as C, getDefaultEventParams as y, canExecuteButton as _ } from "../../../../utils/events/event-util.js";
|
|
3
3
|
import { $t as k } from "../../../../utils/i18n-util.js";
|
|
4
4
|
import { DepartmentUserTree as b } from "agilebuilder-ui";
|
|
@@ -32,12 +32,12 @@ const M = { class: "page-runtime-header-btn" }, N = { class: "dialog-footer" },
|
|
|
32
32
|
F.value && F.value.$el.click();
|
|
33
33
|
} }), (e3, l2) => {
|
|
34
34
|
const a2 = t("el-button"), n2 = t("el-icon"), x2 = t("el-input"), C2 = t("el-form-item"), P3 = t("el-form"), j2 = t("el-dialog");
|
|
35
|
-
return
|
|
35
|
+
return i(), o("span", M, [u(a2, { ref_key: "componentRef", ref: F, disabled: D(), class: s(p(S)), style: r(p(O)), type: E.value.type, size: E.value.size, round: E.value.round, plain: E.value.plain, loading: D(), onClick: l2[0] || (l2[0] = (e4) => function(e5) {
|
|
36
36
|
const l3 = y(e5, w.pageContext, w.configure, {});
|
|
37
37
|
_(l3).then((e6) => {
|
|
38
38
|
e6.canExecute && (T.value = true);
|
|
39
39
|
});
|
|
40
|
-
}()) }, { default: c(() => [m(g(
|
|
40
|
+
}()) }, { default: c(() => [m(g(p(k)(E.value.title)), 1)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "round", "plain", "loading"]), u(j2, { modelValue: T.value, "onUpdate:modelValue": l2[6] || (l2[6] = (e4) => T.value = e4), title: p(k)("superPageRuntimeMessage.selectTransactor"), width: "500" }, { footer: c(() => [v("div", N, [u(a2, { onClick: l2[5] || (l2[5] = (e4) => T.value = false) }, { default: c(() => [m(g(p(k)("superPageRuntimeMessage.cancel")), 1)]), _: 1 }), u(a2, { type: "primary", onClick: A }, { default: c(() => [m(g(p(k)("superPageRuntimeMessage.sure")), 1)]), _: 1 })])]), default: c(() => [u(P3, { ref_key: "ruleFormRef", ref: V, style: { "max-width": "600px" }, model: q.value, rules: z.value, "label-width": "auto" }, { default: c(() => [u(C2, { label: p(k)("superPageRuntimeMessage.transactorUser"), prop: "loginName" }, { default: c(() => [u(x2, { "model-value": q.value.name, readonly: true, type: "text", placeholder: p(k)("superPageRuntimeMessage.pleaseSelectTransactor"), onClick: l2[3] || (l2[3] = (e4) => I()) }, { append: c(() => [u(n2, { class: "el-input__icon", onClick: l2[1] || (l2[1] = (e4) => I()) }, { default: c(() => [u(p(R))]), _: 1 }), u(n2, { class: "el-input__icon", onClick: l2[2] || (l2[2] = (e4) => (q.value.loginName = "", void (q.value.name = ""))) }, { default: c(() => [u(p(h))]), _: 1 })]), _: 1 }, 8, ["model-value", "placeholder"])]), _: 1 }, 8, ["label"]), u(C2, { label: p(k)("superPageRuntimeMessage.opinion"), prop: "opinion" }, { default: c(() => [u(x2, { modelValue: q.value.opinion, "onUpdate:modelValue": l2[4] || (l2[4] = (e4) => q.value.opinion = e4), type: "textarea" }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), U.value ? (i(), d(p(b), { key: 0, width: "60%", multiple: false, onClose: $ })) : f("", true)]), _: 1 }, 8, ["model", "rules"])]), _: 1 }, 8, ["modelValue", "title"])]);
|
|
41
41
|
};
|
|
42
42
|
} });
|
|
43
43
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, watch as n, resolveComponent as o,
|
|
1
|
+
import { defineComponent as e, ref as t, watch as n, resolveComponent as o, createElementBlock as i, createBlock as r, unref as s, openBlock as a, toDisplayString as l, normalizeStyle as u } from "vue";
|
|
2
2
|
import { getWorkflowId as p } from "../../../../utils/common-util.js";
|
|
3
3
|
const f = { key: 0 }, g = e({ __name: "pictureflow-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
|
|
4
4
|
var _a;
|
|
@@ -12,7 +12,7 @@ const f = { key: 0 }, g = e({ __name: "pictureflow-runtime", props: { pageContex
|
|
|
12
12
|
c && y.value && y.value.refresh();
|
|
13
13
|
}, { immediate: true }), (e3, t2) => {
|
|
14
14
|
const n2 = o("workflow-history");
|
|
15
|
-
return
|
|
15
|
+
return s(c) ? (a(), r(n2, { key: 1, id: s(c), ref_key: "historyGraphRef", ref: y, style: u({ maxHeight: m.value + "px" }) }, null, 8, ["id", "style"])) : (a(), i("span", f, l(e3.$t("superPageRuntimeMessage.flowNotStart")), 1));
|
|
16
16
|
};
|
|
17
17
|
} });
|
|
18
18
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, watch as n, resolveComponent as o,
|
|
1
|
+
import { defineComponent as e, ref as t, watch as n, resolveComponent as o, createElementBlock as i, createBlock as s, unref as r, openBlock as l, toDisplayString as a, normalizeStyle as u } from "vue";
|
|
2
2
|
import { getWorkflowId as p } from "../../../../utils/common-util.js";
|
|
3
3
|
const f = { key: 0 }, g = e({ __name: "textflow-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
|
|
4
4
|
var _a;
|
|
@@ -15,7 +15,7 @@ const f = { key: 0 }, g = e({ __name: "textflow-runtime", props: { pageContext:
|
|
|
15
15
|
w && y.value && g2.pageContext.entity.task && y.value.refresh();
|
|
16
16
|
}, { immediate: true }), (e3, t2) => {
|
|
17
17
|
const n2 = o("workflow-history-list");
|
|
18
|
-
return
|
|
18
|
+
return r(w) ? (l(), s(n2, { key: 1, ref_key: "historyList", ref: y, "workflow-id": r(w), style: u({ maxHeight: x.value + "px" }) }, null, 8, ["workflow-id", "style"])) : (l(), i("span", f, a(e3.$t("superPageRuntimeMessage.flowNotStart")), 1));
|
|
19
19
|
};
|
|
20
20
|
} });
|
|
21
21
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as t, ref as e,
|
|
1
|
+
import { defineComponent as t, ref as e, createElementBlock as n, openBlock as o, Fragment as r, renderList as u, createBlock as i, createCommentVNode as a } from "vue";
|
|
2
2
|
import s from "../../object-render.vue.js";
|
|
3
3
|
import { getClickEventFuncByType as p } from "../../../../utils/events/event-util.js";
|
|
4
4
|
import { isVisibleWorkflowButton as m } from "../../../../utils/events/standard-event.js";
|
|
@@ -25,7 +25,7 @@ const c = { class: "page-runtime-header-btn amb-workflowbutton-runtime-view" },
|
|
|
25
25
|
if (!o2 || o2.startsWith("initVal")) return;
|
|
26
26
|
((_b2 = (_a2 = t4 == null ? void 0 : t4.runtime) == null ? void 0 : _a2.props) == null ? void 0 : _b2.title) && (t4.runtime.props.title = o2);
|
|
27
27
|
}(t3), k.value.push(t3));
|
|
28
|
-
}), (e2, p2) => (
|
|
28
|
+
}), (e2, p2) => (o(), n("span", c, [(o(true), n(r, null, u(k.value, (e3, u2) => (o(), n(r, null, [e3.check ? (o(), i(s, { key: u2, pageContext: t2.pageContext, configure: e3 }, null, 8, ["pageContext", "configure"])) : a("", true)], 64))), 256))]));
|
|
29
29
|
} });
|
|
30
30
|
export {
|
|
31
31
|
l as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as t, ref as e, onMounted as a,
|
|
1
|
+
import { defineComponent as t, ref as e, onMounted as a, createElementBlock as n, createCommentVNode as o, openBlock as r, normalizeClass as s, unref as i, createElementVNode as p, normalizeStyle as u, toDisplayString as l } from "vue";
|
|
2
2
|
import { getFormModelFields as g } from "../../../../utils/page-init-util.js";
|
|
3
3
|
import { getVariableValue as m, setVariableValue as C } from "../../../../utils/page-helper-util.js";
|
|
4
4
|
import { useI18n as c } from "vue-i18n";
|
|
@@ -20,7 +20,7 @@ const f = t({ __name: "workflownode-runtime", props: { pageContext: {}, configur
|
|
|
20
20
|
return m(d, v);
|
|
21
21
|
}, setValue: function(t3) {
|
|
22
22
|
return C(d, v, t3);
|
|
23
|
-
} }), (t3, e2) => y.value ? (
|
|
23
|
+
} }), (t3, e2) => y.value ? (r(), n("span", { key: 0, class: s(i(A)) }, [p("span", { style: u(i(N)) }, [p("span", null, l(E.value.title), 1), p("span", null, l(i(k)), 1)], 4)], 2)) : o("", true);
|
|
24
24
|
} });
|
|
25
25
|
export {
|
|
26
26
|
f as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, onUnmounted as a, resolveDirective as i, withDirectives as n,
|
|
1
|
+
import { defineComponent as e, ref as t, onUnmounted as a, resolveDirective as i, withDirectives as n, createElementBlock as r, openBlock as o, createBlock as s, createCommentVNode as l, unref as u, toDisplayString as m } from "vue";
|
|
2
2
|
import { deepCopy as h } from "../utils/common-util.js";
|
|
3
3
|
import g from "./assemblys/home-chart-render.vue.js";
|
|
4
4
|
import c from "agilebuilder-ui/src/utils/request";
|
|
@@ -7,12 +7,12 @@ import { initPageEvents as f } from "../utils/events/event-util.js";
|
|
|
7
7
|
import { setHomeChartInitConfigValue as v } from "../utils/charts/chart-util.js";
|
|
8
8
|
import { useI18n as C } from "vue-i18n";
|
|
9
9
|
const y = { "element-loading-text": "加载中..." }, S = { key: 1 }, b = e({ name: "HomeChart", inheritAttrs: false, __name: "home-chart", props: { chartUuid: { type: String, default: "" }, homeChartSettingUserId: { type: Number, default: 0 } }, setup(e2) {
|
|
10
|
-
const { t: b2 } = C(), I = e2, U = t(true),
|
|
10
|
+
const { t: b2 } = C(), I = e2, U = t(true), H = t(false), w = t(null);
|
|
11
11
|
let x, A = t(null);
|
|
12
12
|
return I.chartUuid && c.get(window.$vueApp.config.globalProperties.baseAPI + "/component/home-chart-layout/" + I.chartUuid).then((e3) => {
|
|
13
13
|
var _a, _b;
|
|
14
14
|
if (e3 && e3.designJson) {
|
|
15
|
-
|
|
15
|
+
w.value = {};
|
|
16
16
|
const t2 = JSON.parse(e3.designJson);
|
|
17
17
|
let a2 = window.localStorage.getItem("HOME_MY_CHARTS_ALIAS");
|
|
18
18
|
if (a2) {
|
|
@@ -20,26 +20,26 @@ const y = { "element-loading-text": "加载中..." }, S = { key: 1 }, b = e({ na
|
|
|
20
20
|
e4[I.homeChartSettingUserId] && (t2.chartJson.runtime.headerInfo ? t2.chartJson.runtime.headerInfo.title = e4[I.homeChartSettingUserId] : t2.chartJson.runtime.headerInfo = { textAlign: "center", title: e4[I.homeChartSettingUserId] });
|
|
21
21
|
}
|
|
22
22
|
const i2 = window.frameElement;
|
|
23
|
-
|
|
23
|
+
w.value = t2.chartJson, w.value.homeChartSettingUserId = I.homeChartSettingUserId, i2 && (i2.clientHeight, w.value.runtime.common.style.pc_style.height = i2.clientHeight + "px");
|
|
24
24
|
const n2 = { showHomepageSearch: false, name: e3.pageName, code: e3.pageCode, label: "", dimensions: "", version: 1, isWorkflowEntity: false, variables: t2.variables, systemCode: e3.systemCode, uuid: e3.uuid, allChartUuids: [], backendUrl: e3.backendUrl, rules: {}, pageType: "chart", beanName: t2.beanName, initChartServiceConfigs: [t2.initChartServiceConfigs], entity: { data: {}, task: {}, request: {}, page: {}, context: e3.contextParam, system: e3.systemParam } };
|
|
25
|
-
if (((_a =
|
|
25
|
+
if (((_a = w.value.pushHomepage) == null ? void 0 : _a.searchConditions) && ((_b = w.value.pushHomepage) == null ? void 0 : _b.searchConditions.length) > 0 && (n2.showHomepageSearch = true), t2.variables) {
|
|
26
26
|
const e4 = n2.entity.page;
|
|
27
27
|
for (const a3 of t2.variables) a3.name && (a3.isArrayElement ? e4[a3.name] = [] : a3.defaultValue ? e4[a3.name] = a3.defaultValue : e4[a3.name] = void 0);
|
|
28
28
|
}
|
|
29
|
-
t2.initOptionConfigs && t2.initOptionConfigs.length > 0 && d(n2, t2.initOptionConfigs, void 0), v(
|
|
29
|
+
t2.initOptionConfigs && t2.initOptionConfigs.length > 0 && d(n2, t2.initOptionConfigs, void 0), v(w.value.pushHomepage.initConfig, n2, I.homeChartSettingUserId), f(t2, n2), A.value = n2, x = setTimeout(() => {
|
|
30
30
|
!function(e4, t3) {
|
|
31
31
|
if (!t3 || 0 == t3.length) return;
|
|
32
32
|
e4.initChartData = {}, e4.initChartData.data = h(e4.entity.data), e4.initChartData.page = h(e4.entity.page), t3 && t3.length > 0 && p(e4, t3, null, true);
|
|
33
33
|
}(A.value, [t2.initChartServiceConfigs]);
|
|
34
34
|
}, 200);
|
|
35
|
-
} else
|
|
35
|
+
} else H.value = true, U.value = false;
|
|
36
36
|
}).finally(() => {
|
|
37
37
|
U.value = false;
|
|
38
38
|
}), a(() => {
|
|
39
39
|
x && clearTimeout(x);
|
|
40
40
|
}), (e3, t2) => {
|
|
41
41
|
const a2 = i("loading");
|
|
42
|
-
return n((
|
|
42
|
+
return n((o(), r("div", y, [!U.value && w.value ? (o(), s(g, { key: 0, configure: w.value, pageContext: u(A) }, null, 8, ["configure", "pageContext"])) : U.value || w.value ? l("", true) : (o(), r("div", S, m(u(b2)("superPageRuntimeMessage.noChartSetting")), 1))])), [[a2, U.value]]);
|
|
43
43
|
};
|
|
44
44
|
} });
|
|
45
45
|
export {
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { defineComponent as e, ref as a, onUnmounted as l, resolveComponent as u,
|
|
2
|
-
import
|
|
3
|
-
import { $t as
|
|
1
|
+
import { defineComponent as e, ref as a, onUnmounted as l, resolveComponent as u, createBlock as o, openBlock as t, withCtx as n, createElementBlock as r, createCommentVNode as i } from "vue";
|
|
2
|
+
import s from "./super-page.vue.js";
|
|
3
|
+
import { $t as d } from "../utils/i18n-util.js";
|
|
4
4
|
const g = ["src"], v = ["src"], p = e({ __name: "super-page-dialog", props: { parentPageContext: {}, parentPageEventParams: {}, jumpPageSetting: {}, isTest: { type: Boolean }, customParams: {} }, emits: ["open", "opened", "close", "closed"], setup(e2, { emit: p2 }) {
|
|
5
5
|
const m = e2, c = p2, P = a(true), f = m.jumpPageSetting ? m.jumpPageSetting : null, h = a(null), w = a(null), b = a(null), C = a(null), j = a(null), y = a(null), I = a({}), k = a(false), O = a(false), S = a("rtl"), _ = a(null), x = a(false), V = a(null), M = a(true), T = a(false), q = a(true), E = a(false);
|
|
6
6
|
if (f) {
|
|
7
|
-
M.value = (f == null ? void 0 : f.alignCenter) ?? true, T.value = (f == null ? void 0 : f.fullscreen) ?? false, x.value = !(!f || void 0 === f._isIframe) && f._isIframe, V.value = f && f._path ? f._path : null, y.value = f && f.dialogType ? f.dialogType : "dialog", k.value = !(!f || !f.draggable) && f.draggable, O.value = !(!f || !f.overflow) && f.overflow, S.value = f && f.showPosition ? f.showPosition : "rtl", w.value = f && f.jumpPageTitle ?
|
|
7
|
+
M.value = (f == null ? void 0 : f.alignCenter) ?? true, T.value = (f == null ? void 0 : f.fullscreen) ?? false, x.value = !(!f || void 0 === f._isIframe) && f._isIframe, V.value = f && f._path ? f._path : null, y.value = f && f.dialogType ? f.dialogType : "dialog", k.value = !(!f || !f.draggable) && f.draggable, O.value = !(!f || !f.overflow) && f.overflow, S.value = f && f.showPosition ? f.showPosition : "rtl", w.value = f && f.jumpPageTitle ? d(f.jumpPageTitle) : null, h.value = f && f.jumpPageWidth ? f.jumpPageWidth : "dialog" === y.value ? "calc(100% - 30px)" : "100%", q.value = f == null ? void 0 : f.showDialogModal, false === q.value ? E.value = f == null ? void 0 : f.dialogModalPenetrable : null !== q.value && void 0 !== q.value || true === (f == null ? void 0 : f.dialogModalPenetrable) && (E.value = true, q.value = false), _.value = f && f.jumpPageHeight ? f.jumpPageHeight : null, b.value = f && f.pageCode, C.value = f && f.dataId ? f.dataId : null, j.value = f && f.taskId ? f.taskId : null;
|
|
8
8
|
const e3 = !!f.isNeedId;
|
|
9
9
|
if (m.parentPageEventParams) {
|
|
10
10
|
try {
|
|
11
11
|
const e4 = JSON.parse(JSON.stringify(m.parentPageEventParams));
|
|
12
12
|
e4.pageContext && delete e4.pageContext, e4.configureObj && delete e4.configureObj, Object.assign(I.value, e4);
|
|
13
13
|
} catch (e4) {
|
|
14
|
+
console.error(e4);
|
|
14
15
|
}
|
|
15
16
|
null !== C.value && void 0 !== C.value || (C.value = m.parentPageEventParams.id);
|
|
16
17
|
}
|
|
@@ -20,8 +21,8 @@ const g = ["src"], v = ["src"], p = e({ __name: "super-page-dialog", props: { pa
|
|
|
20
21
|
var _a;
|
|
21
22
|
((_a = I.value) == null ? void 0 : _a.dialogParamStoreId) && sessionStorage.removeItem(I.value.dialogParamStoreId);
|
|
22
23
|
}), (e3, a2) => {
|
|
23
|
-
const l2 = u("el-drawer"),
|
|
24
|
-
return y.value && "drawer" === y.value ? (t(), o(l2, { key: 0, modelValue: P.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e4) => P.value = e4), title: w.value, direction: S.value, size: h.value, class: "content-drawer amb-super-page-runtime-drawer-view", onOpen: a2[1] || (a2[1] = (e4) => c("open")), onOpened: a2[2] || (a2[2] = (e4) => c("opened")), onClose: a2[3] || (a2[3] = (e4) => c("close")), onClosed: a2[4] || (a2[4] = (e4) => c("closed")) }, { default: n(() => [!x.value && b.value ? (t(), o(
|
|
24
|
+
const l2 = u("el-drawer"), d2 = u("el-dialog");
|
|
25
|
+
return y.value && "drawer" === y.value ? (t(), o(l2, { key: 0, modelValue: P.value, "onUpdate:modelValue": a2[0] || (a2[0] = (e4) => P.value = e4), title: w.value, direction: S.value, size: h.value, class: "content-drawer amb-super-page-runtime-drawer-view", onOpen: a2[1] || (a2[1] = (e4) => c("open")), onOpened: a2[2] || (a2[2] = (e4) => c("opened")), onClose: a2[3] || (a2[3] = (e4) => c("close")), onClosed: a2[4] || (a2[4] = (e4) => c("closed")) }, { default: n(() => [!x.value && b.value ? (t(), o(s, { key: 0, pageCode: b.value, pageRequest: I.value, isDialog: true }, null, 8, ["pageCode", "pageRequest"])) : x.value ? (t(), r("iframe", { key: 1, src: V.value, class: "amb-super-page-runtime-drawer-iframe", frameborder: "0", marginwidth: "0", marginheight: "0", width: "100%", allowtransparency: "no" }, null, 8, g)) : i("", true)]), _: 1 }, 8, ["modelValue", "title", "direction", "size"])) : (t(), o(d2, { key: 1, "model-value": "", title: w.value, "close-on-click-modal": false, "append-to-body": "", width: h.value, modal: q.value, "modal-penetrable": E.value, fullscreen: T.value, alignCenter: M.value, draggable: k.value, overflow: O.value, class: "amb-super-page-runtime-dialog-view", onOpen: a2[5] || (a2[5] = (a3) => e3.$emit("open")), onOpend: a2[6] || (a2[6] = (a3) => e3.$emit("opend")), onClose: a2[7] || (a2[7] = (e4) => c("close")), onClosed: a2[8] || (a2[8] = (a3) => e3.$emit("closed")) }, { default: n(() => [!x.value && b.value ? (t(), o(s, { key: 0, style: { "min-height": "100px" }, pageCode: b.value, pageRequest: I.value, contentHeight: _.value, isDialog: true }, null, 8, ["pageCode", "pageRequest", "contentHeight"])) : x.value ? (t(), r("iframe", { key: 1, src: V.value, class: "amb-super-page-runtime-dialog-iframe", frameborder: "0", marginwidth: "0", marginheight: "0", width: "100%", allowtransparency: "no" }, null, 8, v)) : i("", true)]), _: 1 }, 8, ["title", "width", "modal", "modal-penetrable", "fullscreen", "alignCenter", "draggable", "overflow"]));
|
|
25
26
|
};
|
|
26
27
|
} });
|
|
27
28
|
export {
|
|
@@ -48,7 +48,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
48
48
|
required: false;
|
|
49
49
|
};
|
|
50
50
|
contentHeight: {
|
|
51
|
-
type: (
|
|
51
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
52
52
|
default: any;
|
|
53
53
|
};
|
|
54
54
|
isDialog: {
|
|
@@ -112,7 +112,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
112
112
|
required: false;
|
|
113
113
|
};
|
|
114
114
|
contentHeight: {
|
|
115
|
-
type: (
|
|
115
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
116
116
|
default: any;
|
|
117
117
|
};
|
|
118
118
|
isDialog: {
|