super-page-runtime 2.3.47-sit1 → 2.3.47-sit2
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/views/assemblys/button/button/button-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime2.vue.js +29 -0
- 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-runtime.vue2.js → buttongroup-runtime2.vue.js} +4 -4
- 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-runtime.vue2.js → dropdown-runtime2.vue.js} +4 -4
- 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 +6 -0
- 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 +21 -0
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/column-line/{column-line-runtime.vue2.js → column-line-runtime2.vue.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 +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +2 -2
- 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-search.vue2.js → common-homepage-search2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.js +2 -2
- 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-runtime.vue2.js → gauge-runtime2.vue.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-runtime.vue2.js → pie-runtime2.vue.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-runtime.vue2.js → radar-runtime2.vue.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-runtime.vue2.js → scatter-runtime2.vue.js} +2 -2
- 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-runtime.vue2.js → table-runtime2.vue.js} +12 -11
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +2 -2
- 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 +3 -3
- 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-runtime.vue2.js → card-runtime2.vue.js} +4 -4
- 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-runtime.vue2.js → collapse-runtime2.vue.js} +4 -4
- 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 +27 -0
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/fixed/{FixedBox.vue2.js → FixedBox2.vue.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/{YxAffix.vue2.js → YxAffix2.vue.js} +2 -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-runtime.vue2.js → flex-runtime2.vue.js} +4 -4
- 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-runtime.vue2.js → form-runtime2.vue.js} +4 -4
- 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-runtime.vue2.js → iframe-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.js +96 -0
- 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-runtime.vue2.js → tools-runtime2.vue.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-runtime.vue2.js → barcode-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +2 -2
- 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-runtime.vue2.js → table-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.js +135 -0
- 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-runtime.vue2.js → checkbox-runtime2.vue.js} +4 -4
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +4 -4
- 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-runtime.vue2.js → custom-runtime2.vue.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-runtime2.vue.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-runtime.vue2.js → depttree-runtime2.vue.js} +4 -4
- 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-runtime.vue2.js → divider-runtime2.vue.js} +4 -4
- 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-runtime.vue2.js → fileupload-runtime2.vue.js} +4 -4
- 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-runtime.vue2.js → imageupload-runtime2.vue.js} +4 -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-runtime.vue2.js → input-number-runtime2.vue.js} +4 -4
- 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 → inputtext-runtime2.vue.js} +6 -6
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/label/{label-runtime.vue2.js → label-runtime2.vue.js} +4 -4
- 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-runtime.vue2.js → link-runtime2.vue.js} +4 -4
- 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-runtime.vue2.js → placeholder-runtime2.vue.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-runtime.vue2.js → radio-runtime2.vue.js} +4 -4
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.js +218 -0
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/select/{select-runtime.vue2.js → select-runtime2.vue.js} +5 -5
- 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-runtime.vue2.js → separatelabel-runtime2.vue.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-runtime.vue2.js → switch-runtime2.vue.js} +4 -4
- 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-runtime.vue2.js → tag-runtime2.vue.js} +12 -12
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime2.vue.js +28 -0
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +4 -4
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.js +56 -0
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.js +29 -0
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.js +45 -0
- 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-runtime.vue2.js → pictureflow-runtime2.vue.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-runtime.vue2.js → textflow-runtime2.vue.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-runtime.vue2.js → workflowbutton-runtime2.vue.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-runtime.vue2.js → workflownode-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/home-chart.vue.js +2 -2
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +16 -15
- 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-page.vue2.js → super-page2.vue.js} +3 -3
- package/dist/es/i18n/langs/cn.js +1 -1
- package/dist/es/i18n/langs/en.js +1 -1
- package/dist/es/style.css +85 -85
- package/package.json +1 -1
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +0 -29
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +0 -6
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +0 -21
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +0 -27
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -96
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +0 -134
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -102
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -218
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +0 -28
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +0 -55
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.js +0 -28
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +0 -45
- /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header-breadcrumb.vue2.js → common-chart-header-breadcrumb2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header-group.vue2.js → common-chart-header-group2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header.vue2.js → common-chart-header2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/common/{home-chart-condition-render.vue2.js → home-chart-condition-render2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/table/{group-column-item.vue2.js → group-column-item2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/table/{group-column.vue2.js → group-column2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/table/{normal-column.vue2.js → normal-column2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/table/{table-pageination.vue2.js → table-pageination2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{event-call-component.vue2.js → event-call-component2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{export-form-report-dialog.vue2.js → export-form-report-dialog2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{file-task-notice.vue2.js → file-task-notice2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{format-file-task-notice-message.vue2.js → format-file-task-notice-message2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{remove-signer-dialog.vue2.js → remove-signer-dialog2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{remove-signer-table.vue2.js → remove-signer-table2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{remove-transactor-dialog.vue2.js → remove-transactor-dialog2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{save-chart-condition-dialog.vue2.js → save-chart-condition-dialog2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{task-informition-dialog.vue2.js → task-informition-dialog2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/data/table/{main-table-runtime.vue2.js → main-table-runtime2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/data/table/{sub-table-runtime.vue2.js → sub-table-runtime2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/{error-render.vue2.js → error-render2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/form/common/{title-suffix-element.vue2.js → title-suffix-element2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/{home-chart-render.vue2.js → home-chart-render2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/{object-render.vue2.js → object-render2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/{page-bottom.vue2.js → page-bottom2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/{home-chart.vue2.js → home-chart2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/{super-page-dialog.vue3.js → super-page-dialog3.vue.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, computed as l, onMounted as a, nextTick as u, resolveComponent as i,
|
|
1
|
+
import { defineComponent as e, ref as t, computed as l, onMounted as a, nextTick as u, resolveComponent as i, openBlock as n, createBlock as v, normalizeStyle as o, unref as r, normalizeClass as c, createSlots as s, withCtx as f, createVNode as m, createElementVNode as p, toDisplayString as d } from "vue";
|
|
2
2
|
import { getFormModelFields as g } from "../../../../utils/page-init-util.js";
|
|
3
3
|
import { getVariableValue as V, setVariableValue as y } from "../../../../utils/page-helper-util.js";
|
|
4
4
|
import { handleAfterInitEvent as x, handleFormEvent as h } from "../../../../utils/events/event-util.js";
|
|
@@ -26,9 +26,9 @@ const w = e({ __name: "switch-runtime", props: { pageContext: {}, configure: {}
|
|
|
26
26
|
});
|
|
27
27
|
}), w2({ addRequiredClass: function() {
|
|
28
28
|
_.value = C();
|
|
29
|
-
} }), (
|
|
30
|
-
const
|
|
31
|
-
return
|
|
29
|
+
} }), (t2, l2) => {
|
|
30
|
+
const a2 = i("el-switch"), u2 = i("el-form-item");
|
|
31
|
+
return n(), v(u2, { ref_key: "formItemRef", ref: A, required: W.value.required, class: c(r(z) + (_.value ? " " + _.value : "")), "label-width": W.value.labelWidth, style: o(r(S)) }, s({ default: f(() => [m(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(r(O)), modelValue: U.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => U.value = e3), onChange: l2[1] || (l2[1] = (t3) => r(h)(t3, e2.pageContext, e2.configure, "change")) }, null, 8, ["disabled", "active-value", "active-text", "inactive-value", "inactive-text", "width", "size", "style", "modelValue"])]), _: 2 }, [W.value.tittleShow ? { name: "label", fn: f(() => [p("div", { ref_key: "titleRef", ref: F, style: o({ ...r(I), ...r(T) }), class: "amb-form-item-label" }, d(r(b)(W.value.title)), 5)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"]);
|
|
32
32
|
};
|
|
33
33
|
} });
|
|
34
34
|
export {
|
|
@@ -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, openBlock as n, createBlock as r, normalizeStyle as u, unref as s, normalizeClass 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";
|
|
@@ -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
|
-
}), (
|
|
28
|
-
const
|
|
29
|
-
return
|
|
27
|
+
}), (t2, l2) => {
|
|
28
|
+
const a2 = o("el-tag"), i2 = o("el-form-item");
|
|
29
|
+
return n(), r(i2, { ref_key: "formItemRef", ref: O, required: I.value.required, class: p(s(w)), "label-width": I.value.labelWidth, style: u(s(q)) }, { label: c(() => [I.value.tittleShow ? (n(), f("div", { key: 0, ref_key: "titleRef", ref: W, style: u({ ...s(z), ...s(S) }) }, y(s(_)(I.value.title)), 5)) : d("", true)]), default: c(() => [(n(true), f(g, null, m(E.value, (t3) => (n(), r(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
|
-
let
|
|
32
|
-
null ==
|
|
33
|
-
const l3 = Array.isArray(
|
|
34
|
-
l3 || (
|
|
35
|
-
const
|
|
36
|
-
|
|
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);
|
|
37
37
|
}
|
|
38
|
-
k(
|
|
39
|
-
}(
|
|
38
|
+
k(e4, j2.pageContext, j2.configure, "remove");
|
|
39
|
+
}(e3, t3), onClick: l2[0] || (l2[0] = (t4) => s(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,7 +1,7 @@
|
|
|
1
|
-
import e from "./textarea-
|
|
1
|
+
import e from "./textarea-runtime2.vue.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const r = t(e, [["__scopeId", "data-v-
|
|
4
|
+
const r = t(e, [["__scopeId", "data-v-dcb86aec"]]);
|
|
5
5
|
export {
|
|
6
6
|
r as default
|
|
7
7
|
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { defineComponent as e, ref as t, computed as l, onMounted as a, nextTick as o, resolveComponent as n, openBlock as u, createElementBlock as r, createVNode as i, normalizeStyle as s, unref as p, normalizeClass 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 b } from "../../../../utils/page-helper-util.js";
|
|
4
|
+
import { handleAfterInitEvent as w, 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: () => b(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
|
+
return a(() => {
|
|
15
|
+
o(() => {
|
|
16
|
+
const e3 = B.value;
|
|
17
|
+
w(e3, I.pageContext, I.configure, { formItemRef: W.value, componentRef: A.value, titleRef: G.value, value: e3, entity: I.pageContext.entity.data, pageData: I.pageContext.entity.page });
|
|
18
|
+
});
|
|
19
|
+
}), q2({ addRequiredClass: function() {
|
|
20
|
+
z.value = _();
|
|
21
|
+
} }), (t2, l2) => {
|
|
22
|
+
const a2 = n("el-input"), o2 = n("el-form-item");
|
|
23
|
+
return u(), r("div", null, [i(o2, { ref_key: "formItemRef", ref: W, required: !!E.value.required, class: m(p(N) + (z.value ? " " + z.value : "")), "label-width": E.value.labelWidth, style: s(p(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: p(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) => p(k)(t3, e2.pageContext, e2.configure, "input")), onChange: l2[2] || (l2[2] = (t3) => p(k)(t3, e2.pageContext, e2.configure, "change")), onBlur: l2[3] || (l2[3] = (t3) => p(k)(t3, e2.pageContext, e2.configure, "blur")), onFocus: l2[4] || (l2[4] = (t3) => p(k)(t3, e2.pageContext, e2.configure, "focus")), onClick: l2[5] || (l2[5] = (t3) => p(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({ ...p(T), ...p(U) }), class: "amb-form-item-label" }, [E.value.prefixType ? (u(), d(R, { key: 0, pageContext: e2.pageContext, property: E.value }, null, 8, ["pageContext", "property"])) : (u(), r(v, { key: 1 }, [x(y(p(j)(E.value.title)), 1)], 64))], 4)]), key: "0" } : void 0]), 1032, ["required", "class", "label-width", "style"])]);
|
|
24
|
+
};
|
|
25
|
+
} });
|
|
26
|
+
export {
|
|
27
|
+
q as default
|
|
28
|
+
};
|
|
@@ -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, unref as r, withDirectives as s, openBlock as u, createBlock as l, resolveDynamicComponent as c, normalizeClass as g, normalizeStyle as f, vShow as a, createCommentVNode 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";
|
|
@@ -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 (
|
|
77
|
-
const
|
|
78
|
-
return
|
|
76
|
+
return (o2, t2) => {
|
|
77
|
+
const n2 = i("permission");
|
|
78
|
+
return r($)(e2.configure) ? s((u(), l(c(P.value), { key: 0, ref: D, style: f(W.value), class: g(q.value), configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["style", "class", "configure", "pageContext"])), [[a, r(B)], [n2, { codes: r(N) ? r(N) : "true", systemCode: e2.pageContext.systemCode }]]) : p("", 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, unref as u, withDirectives as l, openBlock as a, createBlock as p, resolveDynamicComponent as g, normalizeClass as c, normalizeStyle as f, vShow as d, createCommentVNode 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";
|
|
@@ -157,7 +157,7 @@ const L = e({ __name: "object-render", props: { pageContext: {}, configure: {} }
|
|
|
157
157
|
const t2 = L2.configure.props ? L2.configure.props : {}, n2 = L2.configure.style ? L2.configure.style : {}, i2 = t2.position;
|
|
158
158
|
"top" == i2 || "bottom" == i2 || n2.position;
|
|
159
159
|
};
|
|
160
|
-
return (
|
|
160
|
+
return (o2, t2) => u(W) && u(P)(e2.configure) ? l((a(), p(g(I.value), { key: 0, ref: te, style: f(U.value), class: c(X.value), configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["style", "class", "configure", "pageContext"])), [[d, u(z)]]) : m("", true);
|
|
161
161
|
} });
|
|
162
162
|
export {
|
|
163
163
|
L as default
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as o,
|
|
1
|
+
import { defineComponent as o, openBlock as e, createBlock as t, createCommentVNode as n } from "vue";
|
|
2
2
|
import p from "./workflow/component/workflow-opinion-box.vue.js";
|
|
3
|
-
const a = o({ __name: "page-bottom", props: { pageContext: {} }, setup: (o2) => (
|
|
3
|
+
const a = o({ __name: "page-bottom", props: { pageContext: {} }, setup: (o2) => (a2, r) => {
|
|
4
4
|
var _a;
|
|
5
|
-
return ((_a =
|
|
5
|
+
return ((_a = o2.pageContext.workflowOpinion) == null ? void 0 : _a.showOpinionBox) ? (e(), t(p, { key: 0, pageContext: o2.pageContext }, null, 8, ["pageContext"])) : n("", true);
|
|
6
6
|
} });
|
|
7
7
|
export {
|
|
8
8
|
a as default
|
package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import o from "./workflow-opinion-
|
|
1
|
+
import o from "./workflow-opinion-box2.vue.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const e = r(o, [["__scopeId", "data-v-e0c933bb"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
e as default
|
|
7
7
|
};
|
package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.js
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
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, openBlock as s, createElementBlock as r, Fragment as p, createElementVNode as w, normalizeStyle as f, createCommentVNode as d, createBlock 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
|
+
import { addRequiredClassUtil as C } from "../../../../utils/common-util.js";
|
|
3
|
+
import { $t as y } from "../../../../utils/i18n-util.js";
|
|
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 }) {
|
|
5
|
+
const _ = e2, B = n(""), H = n(), V = n(""), j = n(null), q = n(null), M = n(0), P = n(null), S = n(null);
|
|
6
|
+
let U = null, W = null;
|
|
7
|
+
const A = n(true), D = o(() => {
|
|
8
|
+
const e3 = S.value;
|
|
9
|
+
return e3 ? { left: e3.left + "px", right: window.innerWidth - e3.right + "px", bottom: window.innerHeight - e3.bottom + "px" } : { left: "0", right: "0", bottom: "0" };
|
|
10
|
+
});
|
|
11
|
+
function F() {
|
|
12
|
+
P.value && (S.value = P.value.getBoundingClientRect());
|
|
13
|
+
}
|
|
14
|
+
function G(e3) {
|
|
15
|
+
P.value = e3, F(), W = new ResizeObserver(F), W.observe(e3), window.addEventListener("scroll", F, true), window.addEventListener("resize", F);
|
|
16
|
+
}
|
|
17
|
+
l(() => {
|
|
18
|
+
var _a;
|
|
19
|
+
let e3 = ((_a = j.value) == null ? void 0 : _a.parentElement) ?? null;
|
|
20
|
+
for (; e3; ) {
|
|
21
|
+
if (e3.classList.contains("el-dialog")) return void G(e3);
|
|
22
|
+
e3 = e3.parentElement;
|
|
23
|
+
}
|
|
24
|
+
_.pageContext.workflowOpinion && (_.pageContext.workflowOpinion.boxInstance = J);
|
|
25
|
+
}), i(() => {
|
|
26
|
+
var _a;
|
|
27
|
+
U == null ? void 0 : U.disconnect(), U = null, W == null ? void 0 : W.disconnect(), W = null, window.removeEventListener("scroll", F, true), window.removeEventListener("resize", F), P.value = null, S.value = null, ((_a = _.pageContext.workflowOpinion) == null ? void 0 : _a.boxInstance) && (_.pageContext.workflowOpinion.boxInstance = null);
|
|
28
|
+
}), t(q, (e3) => {
|
|
29
|
+
U == null ? void 0 : U.disconnect(), U = null, e3 ? (M.value = e3.offsetHeight, U = new ResizeObserver(() => {
|
|
30
|
+
M.value = e3.offsetHeight;
|
|
31
|
+
}), U.observe(e3)) : M.value = 0;
|
|
32
|
+
}), t(() => {
|
|
33
|
+
var _a;
|
|
34
|
+
return (_a = _.pageContext.workflowOpinion) == null ? void 0 : _a.focusOpinionInput;
|
|
35
|
+
}, (e3) => {
|
|
36
|
+
e3 ? (V.value = C(), a(() => {
|
|
37
|
+
var _a;
|
|
38
|
+
((_a = H.value) == null ? void 0 : _a.focus) && H.value.focus();
|
|
39
|
+
})) : V.value = "";
|
|
40
|
+
}, { immediate: true });
|
|
41
|
+
const J = { show: function() {
|
|
42
|
+
_.pageContext.workflowOpinion && (A.value = true);
|
|
43
|
+
}, hide: function() {
|
|
44
|
+
_.pageContext.workflowOpinion && (A.value = false);
|
|
45
|
+
} };
|
|
46
|
+
return L2(J), (n2, o2) => {
|
|
47
|
+
var _a, _b, _c;
|
|
48
|
+
const l2 = u("el-input");
|
|
49
|
+
return s(), r(p, null, [w("div", { ref_key: "sentinelRef", ref: j, style: { display: "none" } }, null, 512), ((_a = e2.pageContext.workflowOpinion) == null ? void 0 : _a.showOpinionBox) ? (s(), r("div", { key: 0, style: f({ height: M.value + "px", width: "100%", flexShrink: 0 }) }, null, 4)) : d("", true), (s(), v(c, { to: "body" }, [((_b = e2.pageContext.workflowOpinion) == null ? void 0 : _b.showOpinionBox) ? x((s(), r("div", { key: 0, ref_key: "opinionBarRef", ref: q, class: "opinion-fixed-bar", style: f(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) ? (s(), r("span", z, "*")) : d("", 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
|
+
_.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]]) : d("", true)]))], 64);
|
|
52
|
+
};
|
|
53
|
+
} });
|
|
54
|
+
export {
|
|
55
|
+
L as default
|
|
56
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import o from "./extract-workflow-runtime-
|
|
1
|
+
import o from "./extract-workflow-runtime-dialog2.vue.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const t = r(o, [["__scopeId", "data-v-
|
|
4
|
+
const t = r(o, [["__scopeId", "data-v-05f9ea1f"]]);
|
|
5
5
|
export {
|
|
6
6
|
t as default
|
|
7
7
|
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { defineComponent as e, ref as l, onMounted as a, resolveComponent as o, openBlock as t, createBlock 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
|
+
import { extractWorkflowFunc as d } from "../../../../utils/events/standard-event.js";
|
|
3
|
+
import { DepartmentUserTree as c } from "agilebuilder-ui";
|
|
4
|
+
import { Search as v, Delete as f } from "@element-plus/icons-vue";
|
|
5
|
+
import { $t as _ } from "../../../../utils/i18n-util.js";
|
|
6
|
+
const x = { class: "dialog-footer" }, y = e({ __name: "extract-workflow-runtime-dialog", props: { pageContext: {}, configure: {} }, emits: ["destroy"], setup(e2, { emit: y2 }) {
|
|
7
|
+
const b = y2, C = e2, M = l(), R = l(false), h = l(true), k = l({}), N = l({ loginName: [], opinion: [] }), P = C.configure.runtime ? C.configure.runtime : {};
|
|
8
|
+
function w() {
|
|
9
|
+
R.value = true;
|
|
10
|
+
}
|
|
11
|
+
function V(e3) {
|
|
12
|
+
R.value = false, k.value.loginName = e3 ? e3.loginName : "", k.value.name = e3 ? e3.name : "";
|
|
13
|
+
}
|
|
14
|
+
function T() {
|
|
15
|
+
M.value.validate((e3, l2) => {
|
|
16
|
+
e3 && d({ pageContext: C.pageContext, configureObj: C.configure, _value: { loginName: k.value.loginName, opinion: k.value.opinion } }).then(() => {
|
|
17
|
+
h.value = false, b("destroy");
|
|
18
|
+
});
|
|
19
|
+
});
|
|
20
|
+
}
|
|
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
|
+
}), (e3, l2) => {
|
|
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 t(), n(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 ? (t(), n(i(c), { key: 0, width: "60%", multiple: false, onClose: V })) : s("", true)]), _: 1 }, 8, ["model", "rules"])]), _: 1 }, 8, ["modelValue", "title"]);
|
|
25
|
+
};
|
|
26
|
+
} });
|
|
27
|
+
export {
|
|
28
|
+
y as default
|
|
29
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import r from "./extract-workflow-
|
|
1
|
+
import r from "./extract-workflow-runtime2.vue.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const e = t(r, [["__scopeId", "data-v-
|
|
4
|
+
const e = t(r, [["__scopeId", "data-v-1a7971b9"]]);
|
|
5
5
|
export {
|
|
6
6
|
e as default
|
|
7
7
|
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { defineComponent as e, ref as l, onMounted as a, nextTick as n, resolveComponent as t, openBlock as o, createElementBlock as i, createVNode as u, normalizeStyle as r, unref as s, normalizeClass as p, withCtx as c, createTextVNode as m, toDisplayString as g, createBlock as d, createCommentVNode as f, createElementVNode as v } from "vue";
|
|
2
|
+
import { handleAfterInitEvent as x, handleEvent as C, getDefaultEventParams as y, canExecuteButton as _ } from "../../../../utils/events/event-util.js";
|
|
3
|
+
import { $t as k } from "../../../../utils/i18n-util.js";
|
|
4
|
+
import { DepartmentUserTree as b } from "agilebuilder-ui";
|
|
5
|
+
import { Search as R, Delete as h } from "@element-plus/icons-vue";
|
|
6
|
+
const M = { class: "page-runtime-header-btn" }, N = { class: "dialog-footer" }, P = e({ __name: "extract-workflow-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: P2 }) {
|
|
7
|
+
const w = e2, V = l(), U = l(false), T = l(false), q = l({}), z = l({ loginName: [], opinion: [] }), j = w.configure.runtime ? w.configure.runtime : {}, E = l(j.props ? j.props : {}), O = j.style, S = j.class;
|
|
8
|
+
function D() {
|
|
9
|
+
return void 0 !== w.pageContext.canClick && void 0 !== w.pageContext.clickUuid && (!w.pageContext.canClick && w.pageContext.clickUuid === w.configure.uuid);
|
|
10
|
+
}
|
|
11
|
+
j.props && (true === j.props.requireExtractTransactor && (z.value.loginName = [{ required: true, message: k("superPageRuntimeMessage.pleaseSelectTransactor"), trigger: "blur" }]), true === j.props.isMustOpinion && (z.value.opinion = [{ required: true, message: k("superPageRuntimeMessage.pleaseInputOpinion"), trigger: "change" }]));
|
|
12
|
+
const F = l(null);
|
|
13
|
+
function I() {
|
|
14
|
+
U.value = true;
|
|
15
|
+
}
|
|
16
|
+
function $(e3) {
|
|
17
|
+
U.value = false, q.value.loginName = e3 ? e3.loginName : "", q.value.name = e3 ? e3.name : "";
|
|
18
|
+
}
|
|
19
|
+
function A() {
|
|
20
|
+
V.value.validate((e3, l2) => {
|
|
21
|
+
if (e3) {
|
|
22
|
+
const e4 = { loginName: q.value.loginName, opinion: q.value.opinion };
|
|
23
|
+
C(e4, w.pageContext, w.configure, "click");
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
return a(() => {
|
|
28
|
+
n(() => {
|
|
29
|
+
x(null, w.pageContext, w.configure, { componentRef: F.value, entity: w.pageContext.entity.data, pageData: w.pageContext.entity.page });
|
|
30
|
+
});
|
|
31
|
+
}), P2({ click: function() {
|
|
32
|
+
F.value && F.value.$el.click();
|
|
33
|
+
} }), (e3, l2) => {
|
|
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 o(), i("span", M, [u(a2, { ref_key: "componentRef", ref: F, disabled: D(), class: p(s(S)), style: r(s(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
|
+
const l3 = y(e5, w.pageContext, w.configure, {});
|
|
37
|
+
_(l3).then((e6) => {
|
|
38
|
+
e6.canExecute && (T.value = true);
|
|
39
|
+
});
|
|
40
|
+
}()) }, { default: c(() => [m(g(s(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: s(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(s(k)("superPageRuntimeMessage.cancel")), 1)]), _: 1 }), u(a2, { type: "primary", onClick: A }, { default: c(() => [m(g(s(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: s(k)("superPageRuntimeMessage.transactorUser"), prop: "loginName" }, { default: c(() => [u(x2, { "model-value": q.value.name, readonly: true, type: "text", placeholder: s(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(s(R))]), _: 1 }), u(n2, { class: "el-input__icon", onClick: l2[2] || (l2[2] = (e4) => (q.value.loginName = "", void (q.value.name = ""))) }, { default: c(() => [u(s(h))]), _: 1 })]), _: 1 }, 8, ["model-value", "placeholder"])]), _: 1 }, 8, ["label"]), u(C2, { label: s(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 ? (o(), d(s(b), { key: 0, width: "60%", multiple: false, onClose: $ })) : f("", true)]), _: 1 }, 8, ["model", "rules"])]), _: 1 }, 8, ["modelValue", "title"])]);
|
|
41
|
+
};
|
|
42
|
+
} });
|
|
43
|
+
export {
|
|
44
|
+
P as default
|
|
45
|
+
};
|
|
@@ -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, unref as i, openBlock as r, createElementBlock as s, toDisplayString as a, createBlock 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 i(c) ? (r(), l(n2, { key: 1, id: i(c), ref_key: "historyGraphRef", ref: y, style: u({ maxHeight: m.value + "px" }) }, null, 8, ["id", "style"])) : (r(), s("span", f, a(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, unref as i, openBlock as s, createElementBlock as r, toDisplayString as l, createBlock 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 i(w) ? (s(), a(n2, { key: 1, ref_key: "historyList", ref: y, "workflow-id": i(w), style: u({ maxHeight: x.value + "px" }) }, null, 8, ["workflow-id", "style"])) : (s(), r("span", f, l(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, openBlock as n, createElementBlock 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
|
-
}), (
|
|
28
|
+
}), (e2, p2) => (n(), o("span", c, [(n(true), o(r, null, u(k.value, (e3, u2) => (n(), o(r, null, [e3.check ? (n(), 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, openBlock as n, createElementBlock as o, normalizeClass as r, unref as s, createElementVNode as i, normalizeStyle as p, toDisplayString as u, createCommentVNode 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 ? (n(), o("span", { key: 0, class: r(s(A)) }, [i("span", { style: p(s(N)) }, [i("span", null, u(E.value.title), 1), i("span", null, u(s(k)), 1)], 4)], 2)) : l("", 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, openBlock as r, createElementBlock as o, createBlock as s, unref as l, toDisplayString as u, createCommentVNode 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";
|
|
@@ -39,7 +39,7 @@ const y = { "element-loading-text": "加载中..." }, S = { key: 1 }, b = e({ na
|
|
|
39
39
|
x && clearTimeout(x);
|
|
40
40
|
}), (e3, t2) => {
|
|
41
41
|
const a2 = i("loading");
|
|
42
|
-
return n((
|
|
42
|
+
return n((r(), o("div", y, [!U.value && H.value ? (r(), s(g, { key: 0, configure: H.value, pageContext: l(A) }, null, 8, ["configure", "pageContext"])) : U.value || H.value ? m("", true) : (r(), o("div", S, u(l(b2)("superPageRuntimeMessage.noChartSetting")), 1))])), [[a2, U.value]]);
|
|
43
43
|
};
|
|
44
44
|
} });
|
|
45
45
|
export {
|
|
@@ -1,28 +1,29 @@
|
|
|
1
|
-
import { defineComponent as e, ref as a, onUnmounted as l, resolveComponent as u,
|
|
1
|
+
import { defineComponent as e, ref as a, onUnmounted as l, resolveComponent as u, openBlock as t, createBlock as o, withCtx as n, createElementBlock as r, createCommentVNode as i } from "vue";
|
|
2
2
|
import d from "./super-page.vue.js";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
import { $t as s } from "../utils/i18n-util.js";
|
|
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
|
+
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
|
+
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 ? s(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
|
+
const e3 = !!f.isNeedId;
|
|
9
|
+
if (m.parentPageEventParams) {
|
|
9
10
|
try {
|
|
10
|
-
const e4 = JSON.parse(JSON.stringify(
|
|
11
|
-
e4.pageContext && delete e4.pageContext, e4.configureObj && delete e4.configureObj, Object.assign(
|
|
11
|
+
const e4 = JSON.parse(JSON.stringify(m.parentPageEventParams));
|
|
12
|
+
e4.pageContext && delete e4.pageContext, e4.configureObj && delete e4.configureObj, Object.assign(I.value, e4);
|
|
12
13
|
} catch (e4) {
|
|
13
14
|
}
|
|
14
|
-
null !==
|
|
15
|
+
null !== C.value && void 0 !== C.value || (C.value = m.parentPageEventParams.id);
|
|
15
16
|
}
|
|
16
|
-
|
|
17
|
+
I.value.parentPageCode = f && f.parentPageCode ? f.parentPageCode : null, I.value.parentPageVersion = f && f.parentPageVersion ? f.parentPageVersion : null, I.value.jumpMode = f ? f.jumpMode : null, I.value.id = C.value, I.value.isNeedId = e3, I.value.taskId = j.value, m.customParams && Object.assign(I.value, m.customParams);
|
|
17
18
|
}
|
|
18
19
|
return l(() => {
|
|
19
20
|
var _a;
|
|
20
|
-
((_a =
|
|
21
|
+
((_a = I.value) == null ? void 0 : _a.dialogParamStoreId) && sessionStorage.removeItem(I.value.dialogParamStoreId);
|
|
21
22
|
}), (e3, a2) => {
|
|
22
|
-
const l2 = u("el-drawer"),
|
|
23
|
-
return
|
|
23
|
+
const l2 = u("el-drawer"), s2 = u("el-dialog");
|
|
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(d, { 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(s2, { 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(d, { 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"]));
|
|
24
25
|
};
|
|
25
26
|
} });
|
|
26
27
|
export {
|
|
27
|
-
|
|
28
|
+
p as default
|
|
28
29
|
};
|
|
@@ -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: (NumberConstructor | StringConstructor)[];
|
|
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: (NumberConstructor | StringConstructor)[];
|
|
116
116
|
default: any;
|
|
117
117
|
};
|
|
118
118
|
isDialog: {
|