super-page-runtime 2.3.27 → 2.3.28
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/charts/chart-columnline-util.js +105 -95
- package/dist/es/components/runtime/utils/charts/chart-util.js +117 -113
- package/dist/es/components/runtime/utils/events/data-backfill-util.d.ts +27 -0
- package/dist/es/components/runtime/utils/events/data-backfill-util.js +39 -0
- package/dist/es/components/runtime/utils/events/standard-event.js +577 -558
- package/dist/es/components/runtime/utils/interfaces/page-design-types.d.ts +13 -1
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/column-line/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 +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.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.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.vue2.js +9 -9
- 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 +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.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue2.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 +11 -8
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/data/tree/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.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.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/radio/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-runtime.vue2.js +53 -51
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +95 -95
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/form/textarea/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 +2 -2
- 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.vue2.js +4 -4
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue2.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 +2 -2
- package/dist/es/components/runtime/views/super-page.vue2.js +3 -3
- package/dist/es/style.css +57 -53
- package/package.json +2 -2
|
@@ -88,6 +88,18 @@ interface PageRuntimeStyle {
|
|
|
88
88
|
height?: number;
|
|
89
89
|
width?: number;
|
|
90
90
|
}
|
|
91
|
+
/**
|
|
92
|
+
* SubTablePageInfoType : {
|
|
93
|
+
* subTableCode:{ pageSize:1,title:"xxxx",fields:["field1","field2",...] }
|
|
94
|
+
* }
|
|
95
|
+
*/
|
|
96
|
+
type SubTablePageInfoType = {
|
|
97
|
+
[subTableCode: string]: {
|
|
98
|
+
pageSize?: number;
|
|
99
|
+
title?: string;
|
|
100
|
+
fields?: string[];
|
|
101
|
+
};
|
|
102
|
+
};
|
|
91
103
|
/**
|
|
92
104
|
* 运行时页面对象
|
|
93
105
|
*/
|
|
@@ -116,7 +128,7 @@ export interface PageContext extends Component {
|
|
|
116
128
|
importBeanName?: string;
|
|
117
129
|
name: string;
|
|
118
130
|
notIdInitializationList?: Array<any>;
|
|
119
|
-
subTablePageInfo?:
|
|
131
|
+
subTablePageInfo?: SubTablePageInfoType;
|
|
120
132
|
customValidatorUuids?: Array<string>;
|
|
121
133
|
entity: {
|
|
122
134
|
data: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, onMounted as l, nextTick as i, onUnmounted as n, resolveComponent as o,
|
|
1
|
+
import { defineComponent as e, ref as t, onMounted as l, nextTick as i, onUnmounted as n, resolveComponent as o, createElementBlock as a, openBlock as u, createBlock as c, unref as p, normalizeStyle as r, normalizeClass as s, withCtx as v, createCommentVNode as y, Fragment as g, createTextVNode as d, toDisplayString as f } from "vue";
|
|
2
2
|
import { SuperIcon as k } from "agilebuilder-ui";
|
|
3
3
|
import { handleAfterInitEvent as x, handleEvent as C } from "../../../../utils/events/event-util.js";
|
|
4
4
|
import { $t as m } from "../../../../utils/i18n-util.js";
|
|
@@ -21,7 +21,7 @@ const V = { class: "page-runtime-header-btn" }, T = e({ __name: "button-runtime"
|
|
|
21
21
|
R.value && R.value.$el.click();
|
|
22
22
|
} }), (t2, l2) => {
|
|
23
23
|
const i2 = o("el-link"), n2 = o("el-button");
|
|
24
|
-
return
|
|
24
|
+
return u(), a("span", V, [z.value.text ? (u(), c(i2, { key: 0, ref_key: "componentRef", ref: R, disabled: P(), class: s(p(h)), style: r(p(_)), type: z.value.type, size: z.value.size, loading: N(), onClick: l2[0] || (l2[0] = (t3) => p(C)(t3, e2.pageContext, e2.configure, "click")) }, { default: v(() => [z.value.title && "right" == z.value.iconPosition && !z.value.isTextIcon ? (u(), a(g, { key: 0 }, [d(f(p(m)(z.value.title)) + " ", 1), z.value.iconValue ? (u(), a(g, { key: 0 }, [d(" ")], 64)) : y("", true)], 64)) : y("", true), z.value.iconType && z.value.iconValue ? (u(), c(p(k), { key: 1, iconType: z.value.iconType, iconValue: z.value.iconValue }, null, 8, ["iconType", "iconValue"])) : y("", true), z.value.title && "right" != z.value.iconPosition && !z.value.isTextIcon ? (u(), a(g, { key: 2 }, [z.value.iconValue ? (u(), a(g, { key: 0 }, [d(" ")], 64)) : y("", true), d(" " + f(p(m)(z.value.title)), 1)], 64)) : y("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "loading"])) : (u(), c(n2, { key: 1, ref_key: "componentRef", ref: R, disabled: P(), class: s(p(h)), style: r(p(_)), type: z.value.type, size: z.value.size, round: z.value.round, plain: z.value.plain, loading: N(), onClick: l2[1] || (l2[1] = (t3) => p(C)(t3, e2.pageContext, e2.configure, "click")) }, { default: v(() => [z.value.title && "right" == z.value.iconPosition ? (u(), a(g, { key: 0 }, [d(f(p(m)(z.value.title)) + " ", 1), z.value.iconValue ? (u(), a(g, { key: 0 }, [d(" ")], 64)) : y("", true)], 64)) : y("", true), z.value.iconType && z.value.iconValue ? (u(), c(p(k), { key: 1, iconType: z.value.iconType, iconValue: z.value.iconValue }, null, 8, ["iconType", "iconValue"])) : y("", true), z.value.title && "right" != z.value.iconPosition ? (u(), a(g, { key: 2 }, [z.value.iconValue ? (u(), a(g, { key: 0 }, [d(" ")], 64)) : y("", true), d(" " + f(p(m)(z.value.title)), 1)], 64)) : y("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "round", "plain", "loading"]))]);
|
|
25
25
|
};
|
|
26
26
|
} });
|
|
27
27
|
export {
|
package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, computed as t, ref as n, onMounted as o, nextTick as u, resolveComponent as r,
|
|
1
|
+
import { defineComponent as e, computed as t, ref as n, onMounted as o, nextTick as u, resolveComponent as r, createBlock as a, openBlock as p, normalizeStyle as g, normalizeClass as i, unref as s, withCtx as l, createElementBlock as c, Fragment as f, renderList as m } from "vue";
|
|
2
2
|
import x from "../../object-render.vue.js";
|
|
3
3
|
import { handleAfterInitEvent as y } from "../../../../utils/events/event-util.js";
|
|
4
4
|
const C = e({ __name: "buttongroup-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
|
|
@@ -13,7 +13,7 @@ const C = e({ __name: "buttongroup-runtime", props: { pageContext: {}, configure
|
|
|
13
13
|
});
|
|
14
14
|
}), (t2, n2) => {
|
|
15
15
|
const o2 = r("el-button-group");
|
|
16
|
-
return
|
|
16
|
+
return p(), a(o2, { ref_key: "componentRef", ref: _, class: i(["amb-button-group-main", s(b)]), style: g(d.value) }, { default: l(() => [(p(true), c(f, null, m(e2.configure.items, (t3, n3) => (p(), a(x, { key: t3.uuid, pageContext: e2.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["class", "style"]);
|
|
17
17
|
};
|
|
18
18
|
} });
|
|
19
19
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, computed as l, onMounted as n, nextTick as o, resolveComponent as u,
|
|
1
|
+
import { defineComponent as e, ref as t, computed as l, onMounted as n, nextTick as o, resolveComponent as u, createBlock as i, openBlock as a, normalizeStyle as r, normalizeClass as p, unref as s, withCtx as c, createElementBlock as g, Fragment as f, createTextVNode as d, toDisplayString as m, createVNode as v, renderList as y } from "vue";
|
|
2
2
|
import { ArrowDown as b } from "@element-plus/icons-vue";
|
|
3
3
|
import { formatVariableValue as C } from "../../../../utils/page-helper-util.js";
|
|
4
4
|
import { handleAfterInitEvent as k, handleEvent as x, handleFormEvent as _ } from "../../../../utils/events/event-util.js";
|
|
@@ -33,7 +33,7 @@ const z = { key: 1 }, h = e({ __name: "dropdown-runtime", props: { pageContext:
|
|
|
33
33
|
});
|
|
34
34
|
}), (t2, l2) => {
|
|
35
35
|
const n2 = u("el-button"), o2 = u("el-icon"), C2 = u("el-text"), k2 = u("el-dropdown-item"), _2 = u("el-dropdown-menu"), h3 = u("el-dropdown");
|
|
36
|
-
return
|
|
36
|
+
return a(), i(h3, { ref_key: "componentRef", ref: V, class: p(s(A)), style: r(s(T)), placement: B.value.placement, "split-button": B.value.splitButton, disabled: "disabled" === B.value.state, type: B.value.buttonType, size: B.value.size, trigger: B.value.trigger, onVisibleChange: S }, { dropdown: c(() => [v(_2, null, { default: c(() => [(a(true), g(f, null, y(s(O), (t3, l3) => (a(), i(k2, { key: t3, onClick: (l4) => s(x)(l4, e2.pageContext, e2.configure, "click", { menuItem: t3 }) }, { default: c(() => [d(m(s(w)(t3.label)), 1)]), _: 2 }, 1032, ["onClick"]))), 128))]), _: 1 })]), default: c(() => ["button" === B.value.triggerElement ? (a(), g(f, { key: 0 }, [B.value.splitButton ? (a(), g("span", z, m(B.value.title), 1)) : (a(), i(n2, { key: 0, size: B.value.size, type: B.value.buttonType }, { default: c(() => [d(m(s(w)(B.value.title)), 1)]), _: 1 }, 8, ["size", "type"]))], 64)) : (a(), i(C2, { key: 1 }, { default: c(() => [d(m(s(w)(B.value.title)) + " ", 1), v(o2, null, { default: c(() => [v(s(b))]), _: 1 })]), _: 1 }))]), _: 1 }, 8, ["class", "style", "placement", "split-button", "disabled", "type", "size", "trigger"]);
|
|
37
37
|
};
|
|
38
38
|
} });
|
|
39
39
|
export {
|
package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue2.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as e,
|
|
1
|
+
import { defineComponent as e, createBlock as t, openBlock as o } from "vue";
|
|
2
2
|
import n from "../button/button-runtime.vue2.js";
|
|
3
|
-
const r = e({ __name: "exportpdf-runtime", props: { pageContext: {}, configure: {} }, setup: (e2) => (r2, u) => (
|
|
3
|
+
const r = e({ __name: "exportpdf-runtime", props: { pageContext: {}, configure: {} }, setup: (e2) => (r2, u) => (o(), t(n, { configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"])) });
|
|
4
4
|
export {
|
|
5
5
|
r as default
|
|
6
6
|
};
|
package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, onMounted as l, nextTick as n, resolveComponent as u,
|
|
1
|
+
import { defineComponent as e, ref as t, onMounted as l, nextTick as n, resolveComponent as u, createBlock as o, openBlock as a, normalizeStyle as i, normalizeClass as p, unref as r, withCtx as s, createElementBlock as g, Fragment as c, createTextVNode as m, toDisplayString as f, createVNode as v, renderList as d } from "vue";
|
|
2
2
|
import "agilebuilder-ui";
|
|
3
3
|
import { handleAfterInitEvent as y, handleEvent as b } from "../../../../utils/events/event-util.js";
|
|
4
4
|
import k from "../button/button-runtime.vue2.js";
|
|
@@ -13,7 +13,7 @@ const x = { key: 1 }, _ = e({ __name: "printlabel-runtime", props: { pageContext
|
|
|
13
13
|
});
|
|
14
14
|
}), (t2, l2) => {
|
|
15
15
|
const n2 = u("el-button"), y2 = u("ArrowDown"), _3 = u("el-icon"), w2 = u("el-text"), T = u("el-dropdown-item"), h = u("el-dropdown-menu"), A = u("el-dropdown");
|
|
16
|
-
return j.value ? (
|
|
16
|
+
return j.value ? (a(), o(A, { key: 1, ref_key: "componentRef", ref: R, class: p(r(D)), style: i(r(B)), placement: z.value.placement, "split-button": z.value.splitButton, disabled: "disabled" === z.value.state, type: z.value.buttonType, size: z.value.size, trigger: z.value.trigger }, { dropdown: s(() => [v(h, null, { default: s(() => [(a(true), g(c, null, d(z.value.template, (t3, l3) => (a(), o(T, { key: t3, onClick: (l4) => r(b)(l4, e2.pageContext, e2.configure, "click", { menuItem: t3 }) }, { default: s(() => [m(f(r(C)(t3.label)), 1)]), _: 2 }, 1032, ["onClick"]))), 128))]), _: 1 })]), default: s(() => ["button" === z.value.triggerElement ? (a(), g(c, { key: 0 }, [z.value.splitButton ? (a(), g("span", x, f(r(C)(z.value.title)), 1)) : (a(), o(n2, { key: 0, size: z.value.size, type: z.value.buttonType, onClick: l2[0] || (l2[0] = (t3) => r(b)(t3, e2.pageContext, e2.configure, "menuClick")) }, { default: s(() => [m(f(r(C)(z.value.title)), 1)]), _: 1 }, 8, ["size", "type"]))], 64)) : (a(), o(w2, { key: 1 }, { default: s(() => [m(f(r(C)(z.value.title)) + " ", 1), v(_3, null, { default: s(() => [v(y2)]), _: 1 })]), _: 1 }))]), _: 1 }, 8, ["class", "style", "placement", "split-button", "disabled", "type", "size", "trigger"])) : (a(), o(k, { key: 0, configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"]));
|
|
17
17
|
};
|
|
18
18
|
} });
|
|
19
19
|
export {
|
package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as r, onMounted as o, watch as t,
|
|
1
|
+
import { defineComponent as e, ref as r, onMounted as o, watch as t, createElementBlock as n, openBlock as a, normalizeClass as i, normalizeStyle as u, unref as s, withDirectives as l, createVNode as c, vShow as p } from "vue";
|
|
2
2
|
import { getCustomTheme as f, initChartOption as g, monitorChartClickToVariable as m, clearChartSelected as h, exportCommonChart as d } from "../../../../utils/charts/chart-util.js";
|
|
3
3
|
import { getChartDatasFromPage as v, updateChartDatasources as x, monitorFieldChange as C } from "../../../../utils/page-helper-util.js";
|
|
4
4
|
import { updateChartOption as I } from "../../../../utils/charts/chart-columnline-util.js";
|
|
@@ -46,7 +46,7 @@ const A = e({ __name: "column-line-runtime", props: { pageContext: {}, configure
|
|
|
46
46
|
ee(true);
|
|
47
47
|
}), A2({ updateChartDatas: oe, exportChart: function() {
|
|
48
48
|
return d(S.value, M);
|
|
49
|
-
}, chartOption: Q }), (r2, o2) => (
|
|
49
|
+
}, chartOption: Q }), (r2, o2) => (a(), n("div", { style: u(s(J)), class: i([s(K), "amb-widget-chart amb-widget-flex amb-chart-container"]), ref_key: "thisRef", ref: N }, [l(c(y, { ref_key: "headerRef", ref: U, headerInfo: s(M), configure: e2.configure, pageContext: e2.pageContext, onDrillEnd: Y, class: "amb-chart-header" }, null, 8, ["headerInfo", "configure", "pageContext"]), [[p, s(M).showHeader || e2.pageContext.showHomepageSearch]]), c(s(E), { ref_key: "chartRef", ref: S, class: "amb-chart-content", theme: s(X), option: s(Q), autoresize: "" }, null, 8, ["theme", "option"])], 6));
|
|
50
50
|
} });
|
|
51
51
|
export {
|
|
52
52
|
A as default
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as e, resolveComponent as r,
|
|
1
|
+
import { defineComponent as e, resolveComponent as r, createBlock as o, openBlock as l, unref as t, withCtx as s, createElementBlock as a, Fragment as n, renderList as c, createTextVNode as m, toDisplayString as u } from "vue";
|
|
2
2
|
import { ArrowRight as i } from "@element-plus/icons-vue";
|
|
3
3
|
const p = e({ __name: "common-chart-header-breadcrumb", props: { headerInfo: { type: Object, required: true } }, emits: ["close-drill"], setup(e2, { emit: p2 }) {
|
|
4
4
|
const d = p2;
|
|
5
5
|
return (p3, f) => {
|
|
6
6
|
const b = r("el-tag"), h = r("el-breadcrumb");
|
|
7
|
-
return
|
|
7
|
+
return l(), o(h, { "separator-icon": t(i) }, { default: s(() => [(l(true), a(n, null, c(e2.headerInfo.drillOptions, (e3, r2) => (l(), o(b, { key: e3.name, closable: "", type: "success", style: { "margin-left": "4px" }, onClose: (e4) => {
|
|
8
8
|
d("close-drill", r2);
|
|
9
9
|
} }, { default: s(() => [m(u(e3.label), 1)]), _: 2 }, 1032, ["onClose"]))), 128))]), _: 1 }, 8, ["separator-icon"]);
|
|
10
10
|
};
|
package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as e, watch as l, resolveComponent as o,
|
|
1
|
+
import { defineComponent as e, watch as l, resolveComponent as o, createBlock as a, createElementBlock as u, openBlock as r, withCtx as n, Fragment as d, renderList as p } from "vue";
|
|
2
2
|
const t = e({ __name: "common-chart-header-group", props: { headerInfo: { type: Object, required: true } }, setup(e2) {
|
|
3
3
|
const t2 = e2;
|
|
4
4
|
return l(t2.headerInfo, () => {
|
|
5
5
|
t2.headerInfo;
|
|
6
6
|
}), (l2, t3) => {
|
|
7
7
|
const h = o("el-checkbox"), f = o("el-checkbox-group"), m = o("el-radio"), V = o("el-radio-button"), b = o("el-radio-group");
|
|
8
|
-
return "checkbox" == e2.headerInfo.groupComponent ? (
|
|
8
|
+
return "checkbox" == e2.headerInfo.groupComponent ? (r(), a(f, { key: 0, modelValue: e2.headerInfo.groupValue, "onUpdate:modelValue": t3[0] || (t3[0] = (l3) => e2.headerInfo.groupValue = l3) }, { default: n(() => [(r(true), u(d, null, p(e2.headerInfo.options, (e3) => (r(), a(h, { label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"])) : "radio" == e2.headerInfo.groupComponent ? (r(true), u(d, { key: 1 }, p(e2.headerInfo.options, (l3) => (r(), a(m, { modelValue: e2.headerInfo.groupValue, "onUpdate:modelValue": t3[1] || (t3[1] = (l4) => e2.headerInfo.groupValue = l4), value: l3.value, label: l3.label }, null, 8, ["modelValue", "value", "label"]))), 256)) : (r(), a(b, { key: 2, modelValue: e2.headerInfo.groupValue, "onUpdate:modelValue": t3[2] || (t3[2] = (l3) => e2.headerInfo.groupValue = l3) }, { default: n(() => [(r(true), u(d, null, p(e2.headerInfo.options, (e3) => (r(), a(V, { label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"]));
|
|
9
9
|
};
|
|
10
10
|
} });
|
|
11
11
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as o, resolveComponent as r,
|
|
1
|
+
import { defineComponent as e, ref as o, resolveComponent as r, createElementBlock as n, openBlock as t, createElementVNode as a, createCommentVNode as l, withDirectives as i, createBlock as d, normalizeStyle as f, toDisplayString as h, vShow as s, createVNode as c, withCtx as I, unref as u } from "vue";
|
|
2
2
|
import { Search as p } from "@element-plus/icons-vue";
|
|
3
3
|
import g from "./common-chart-header-group.vue.js";
|
|
4
4
|
import m from "./common-chart-header-breadcrumb.vue.js";
|
|
@@ -52,7 +52,7 @@ const w = { class: "amb-widget-chart-header" }, x = { class: "amb-widget-chart-h
|
|
|
52
52
|
N.headerInfo.drillOptions.push(a2), q(r2 + 1);
|
|
53
53
|
}, closeDrill: S }), (o2, v2) => {
|
|
54
54
|
const y2 = r("el-icon"), O2 = r("el-tooltip");
|
|
55
|
-
return
|
|
55
|
+
return t(), n("div", w, [a("div", x, [i(a("label", { style: f(e2.headerInfo.style) }, h(e2.headerInfo.title) + " ", 5), [[s, e2.headerInfo.title && (!e2.headerInfo.textAlign || "left" == e2.headerInfo.textAlign)]]), !e2.headerInfo.showDrill || e2.headerInfo.groupPosition && "left" != e2.headerInfo.groupPosition ? l("", true) : (t(), d(m, { key: 0, ref_key: "drillObjRef", ref: D, headerInfo: e2.headerInfo, onCloseDrill: S }, null, 8, ["headerInfo"])), !e2.headerInfo.showGroup || e2.headerInfo.groupPosition && "left" != e2.headerInfo.groupPosition ? l("", true) : (t(), d(g, { key: 1, headerInfo: e2.headerInfo }, null, 8, ["headerInfo"]))]), a("div", k, [i(a("label", { style: f(e2.headerInfo.style) }, h(e2.headerInfo.title) + " ", 5), [[s, e2.headerInfo.title && "center" == e2.headerInfo.textAlign]]), e2.headerInfo.showDrill && "center" == e2.headerInfo.groupPosition ? (t(), d(m, { key: 0, headerInfo: e2.headerInfo, onCloseDrill: S, ref_key: "drillObjRef", ref: D }, null, 8, ["headerInfo"])) : l("", true), e2.headerInfo.showGroup && "center" == e2.headerInfo.groupPosition ? (t(), d(g, { key: 1, headerInfo: e2.headerInfo }, null, 8, ["headerInfo"])) : l("", true)]), a("div", j, [i(a("label", { style: f(e2.headerInfo.style) }, h(e2.headerInfo.title) + " ", 5), [[s, e2.headerInfo.title && "right" == e2.headerInfo.textAlign]]), e2.headerInfo.showDrill && "right" == e2.headerInfo.groupPosition ? (t(), d(m, { key: 0, headerInfo: e2.headerInfo, onCloseDrill: S, ref_key: "drillObjRef", ref: D }, null, 8, ["headerInfo"])) : l("", true), e2.headerInfo.showGroup && "right" == e2.headerInfo.groupPosition ? (t(), d(g, { key: 1, headerInfo: e2.headerInfo }, null, 8, ["headerInfo"])) : l("", true)]), e2.pageContext.showHomepageSearch ? (t(), n("div", C, [c(O2, { content: "打开查询弹窗", effect: "light" }, { default: I(() => [c(y2, { onClick: G }, { default: I(() => [c(u(p))]), _: 1 })]), _: 1 }), c(b, { ref_key: "commonHomepageSearchRef", ref: A, configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"])])) : l("", true)]);
|
|
56
56
|
};
|
|
57
57
|
} });
|
|
58
58
|
export {
|
package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, onMounted as i, onUnmounted as o, resolveComponent as l,
|
|
1
|
+
import { defineComponent as e, ref as t, onMounted as i, onUnmounted as o, resolveComponent as l, createBlock as a, openBlock as r, withCtx as n, createElementVNode as u, createVNode as s, createTextVNode as p, createCommentVNode as c, createElementBlock as g, Fragment as m, renderList as d } from "vue";
|
|
2
2
|
import f from "../../object-render.vue.js";
|
|
3
3
|
import { updateChartDatasources as v, getValueFromVariable as h } from "../../../../utils/page-helper-util.js";
|
|
4
4
|
import { ElLoading as y, ElMessage as C } from "element-plus";
|
|
@@ -56,7 +56,7 @@ const S = { style: { overflow: "auto", height: "calc(100vh - 140px)" }, ref: "di
|
|
|
56
56
|
_.value = true, k.value = N.configure.pushHomepage.searchConditions;
|
|
57
57
|
} }), (t2, i2) => {
|
|
58
58
|
const o2 = l("el-empty"), v2 = l("el-form"), h2 = l("el-button"), y2 = l("el-dialog");
|
|
59
|
-
return
|
|
59
|
+
return r(), a(y2, { modelValue: _.value, "onUpdate:modelValue": i2[0] || (i2[0] = (e3) => _.value = e3), title: "筛选", close: w, "append-to-body": "", fullscreen: "", top: "40vh", append: "", width: "70%", draggable: "" }, { default: n(() => [u("div", S, [k.value && 0 !== k.value.length ? c("", true) : (r(), a(o2, { key: 0, description: "未设置筛选条件", "image-size": 50 })), (r(), a(v2, { key: j.value }, { default: n(() => [(r(true), g(m, null, d(k.value, (t3) => (r(), a(f, { key: t3.uuid, configure: t3, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"]))), 128))]), _: 1 }))], 512)]), footer: n(() => [u("div", O, [s(h2, { type: "primary", onClick: T }, { default: n(() => [...i2[1] || (i2[1] = [p(" 确定 ", -1)])]), _: 1 }), s(h2, { type: "default", onClick: H }, { default: n(() => [...i2[2] || (i2[2] = [p("重置", -1)])]), _: 1 }), s(h2, { type: "primary", onClick: A }, { default: n(() => [...i2[3] || (i2[3] = [p(" 保存为默认条件 ", -1)])]), _: 1 })])]), _: 1 }, 8, ["modelValue"]);
|
|
60
60
|
};
|
|
61
61
|
} });
|
|
62
62
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as r, onMounted as t, watch as o,
|
|
1
|
+
import { defineComponent as e, ref as r, onMounted as t, watch as o, createElementBlock as a, openBlock as n, normalizeClass as s, normalizeStyle as u, unref as i, withDirectives as c, createVNode as p, vShow as m } from "vue";
|
|
2
2
|
import { getCustomTheme as f, initChartOption as h, exportCommonChart as l } from "../../../../utils/charts/chart-util.js";
|
|
3
3
|
import { getChartDatasFromPage as g, updateChartDatasources as d, monitorFieldChange as x } from "../../../../utils/page-helper-util.js";
|
|
4
4
|
import { updateChartOption as C } from "../../../../utils/charts/chart-gauge-util.js";
|
|
@@ -28,7 +28,7 @@ const k = e({ __name: "gauge-runtime", props: { pageContext: {}, configure: {} }
|
|
|
28
28
|
}
|
|
29
29
|
return x(A.pageContext, K, J), k2({ updateChartDatas: L, exportChart: function() {
|
|
30
30
|
return l(O.value, T);
|
|
31
|
-
} }), (r2, t2) => (
|
|
31
|
+
} }), (r2, t2) => (n(), a("div", { style: u(i(F)), class: s([i(P), "amb-widget-chart amb-widget-flex amb-chart-container"]), ref_key: "thisRef", ref: H }, [c(p(v, { ref_key: "headerRef", ref: z, headerInfo: i(T), configure: e2.configure, pageContext: e2.pageContext, class: "amb-chart-header" }, null, 8, ["headerInfo", "configure", "pageContext"]), [[m, i(T).showHeader || e2.pageContext.showHomepageSearch]]), p(i(I), { ref_key: "chartRef", ref: O, class: "amb-chart-content", theme: i(E), option: i(q), autoresize: "" }, null, 8, ["theme", "option"])], 6));
|
|
32
32
|
} });
|
|
33
33
|
export {
|
|
34
34
|
k as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as r, onMounted as o, watch as t,
|
|
1
|
+
import { defineComponent as e, ref as r, onMounted as o, watch as t, createElementBlock as a, openBlock as n, normalizeClass as u, normalizeStyle as i, unref as l, withDirectives as c, createVNode as s, vShow as p } from "vue";
|
|
2
2
|
import { getCustomTheme as f, initChartOption as g, monitorChartClickToVariable as h, clearChartSelected as m, exportCommonChart as d } from "../../../../utils/charts/chart-util.js";
|
|
3
3
|
import { updateChartOption as v } from "../../../../utils/charts/chart-pie-util.js";
|
|
4
4
|
import { doClickJumpPageEvent as x } from "../../../../utils/events/event-util.js";
|
|
@@ -39,7 +39,7 @@ const A = e({ __name: "pie-runtime", props: { pageContext: {}, configure: {} },
|
|
|
39
39
|
Y(true);
|
|
40
40
|
}), A2({ updateChartDatas: $, exportChart: function() {
|
|
41
41
|
return d(S.value, K);
|
|
42
|
-
} }), (r2, o2) => (
|
|
42
|
+
} }), (r2, o2) => (n(), a("div", { style: i(l(B)), class: u([l(G), "amb-widget-chart amb-widget-flex amb-chart-container"]), ref_key: "thisRef", ref: O }, [c(s(k, { ref_key: "headerRef", ref: T, headerInfo: l(K), configure: e2.configure, pageContext: e2.pageContext, onDrillEnd: Q, class: "amb-chart-header" }, null, 8, ["headerInfo", "configure", "pageContext"]), [[p, l(K).showHeader || e2.pageContext.showHomepageSearch]]), s(l(E), { ref_key: "chartRef", ref: S, class: "amb-chart-content", theme: l(N), option: l(L), autoresize: "" }, null, 8, ["theme", "option"])], 6));
|
|
43
43
|
} });
|
|
44
44
|
export {
|
|
45
45
|
A as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as r, onMounted as t, watch as o,
|
|
1
|
+
import { defineComponent as e, ref as r, onMounted as t, watch as o, createElementBlock as a, openBlock as n, normalizeClass as s, normalizeStyle as u, unref as i, withDirectives as c, createVNode as p, vShow as m } from "vue";
|
|
2
2
|
import { getCustomTheme as f, initChartOption as h, exportCommonChart as l } from "../../../../utils/charts/chart-util.js";
|
|
3
3
|
import { getChartDatasFromPage as g, updateChartDatasources as d, monitorFieldChange as x } from "../../../../utils/page-helper-util.js";
|
|
4
4
|
import { updateChartOption as C } from "../../../../utils/charts/chart-radar-util.js";
|
|
@@ -28,7 +28,7 @@ const A = e({ __name: "radar-runtime", props: { pageContext: {}, configure: {} }
|
|
|
28
28
|
}
|
|
29
29
|
return x(H.pageContext, L, K), A2({ updateChartDatas: M, exportChart: function() {
|
|
30
30
|
return l(z.value, q);
|
|
31
|
-
} }), (r2, t2) => (
|
|
31
|
+
} }), (r2, t2) => (n(), a("div", { style: u(i(P)), class: s([i(S), "amb-widget-chart amb-widget-flex amb-chart-container"]), ref_key: "thisRef", ref: O }, [c(p(v, { ref_key: "headerRef", ref: D, headerInfo: i(q), configure: e2.configure, pageContext: e2.pageContext, class: "amb-chart-header" }, null, 8, ["headerInfo", "configure", "pageContext"]), [[m, i(q).showHeader || e2.pageContext.showHomepageSearch]]), p(i(k), { ref_key: "chartRef", ref: z, class: "amb-chart-content", theme: i(G), option: i(B), autoresize: "" }, null, 8, ["theme", "option"])], 6));
|
|
32
32
|
} });
|
|
33
33
|
export {
|
|
34
34
|
A as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as r, onMounted as t, watch as o,
|
|
1
|
+
import { defineComponent as e, ref as r, onMounted as t, watch as o, createElementBlock as a, openBlock as n, normalizeClass as s, normalizeStyle as c, unref as u, withDirectives as i, createVNode as p, vShow as m } from "vue";
|
|
2
2
|
import { getCustomTheme as f, initChartOption as h, exportCommonChart as l } from "../../../../utils/charts/chart-util.js";
|
|
3
3
|
import { getChartDatasFromPage as g, updateChartDatasources as d, monitorFieldChange as x } from "../../../../utils/page-helper-util.js";
|
|
4
4
|
import { updateChartOption as C } from "../../../../utils/charts/chart-scatter-util.js";
|
|
@@ -28,7 +28,7 @@ const H = e({ __name: "scatter-runtime", props: { pageContext: {}, configure: {}
|
|
|
28
28
|
}
|
|
29
29
|
return x(O.pageContext, M, L), H2({ updateChartDatas: N, exportChart: function() {
|
|
30
30
|
return l(D.value, B);
|
|
31
|
-
} }), (r2, t2) => (
|
|
31
|
+
} }), (r2, t2) => (n(), a("div", { style: c(u(S)), class: s([u(T), "amb-widget-chart amb-widget-flex amb-chart-container"]), ref_key: "thisRef", ref: z }, [i(p(v, { ref_key: "headerRef", ref: F, headerInfo: u(B), configure: e2.configure, pageContext: e2.pageContext, class: "amb-chart-header" }, null, 8, ["headerInfo", "configure", "pageContext"]), [[m, u(B).showHeader || e2.pageContext.showHomepageSearch]]), p(u(A), { ref_key: "chartRef", ref: D, class: "amb-chart-content", theme: u(J), option: u(E), autoresize: "" }, null, 8, ["theme", "option"])], 6));
|
|
32
32
|
} });
|
|
33
33
|
export {
|
|
34
34
|
H as default
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as e,
|
|
1
|
+
import { defineComponent as e, createBlock as o, openBlock as u } from "vue";
|
|
2
2
|
import t from "./group-column.vue.js";
|
|
3
|
-
const n = e({ __name: "group-column-item", props: { configure: { type: Object, default: () => ({}) }, pageContext: { type: Object, default: () => ({}) }, groupColumnItem: { type: Object, default: () => ({}) }, columnsConfigKeyValues: { type: Object, default: () => ({}) } }, setup: (e2) => (n2, l) => (
|
|
3
|
+
const n = e({ __name: "group-column-item", props: { configure: { type: Object, default: () => ({}) }, pageContext: { type: Object, default: () => ({}) }, groupColumnItem: { type: Object, default: () => ({}) }, columnsConfigKeyValues: { type: Object, default: () => ({}) } }, setup: (e2) => (n2, l) => (u(), o(t, { configure: e2.configure, pageContext: e2.pageContext, groupColumn: e2.groupColumnItem, columnsConfigKeyValues: e2.columnsConfigKeyValues }, null, 8, ["configure", "pageContext", "groupColumn", "columnsConfigKeyValues"])) });
|
|
4
4
|
export {
|
|
5
5
|
n as default
|
|
6
6
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as e, resolveComponent as o,
|
|
1
|
+
import { defineComponent as e, resolveComponent as o, createBlock as n, openBlock as u, withCtx as l, createElementBlock as t, createCommentVNode as r, Fragment as c, renderList as g, createTextVNode as m, toDisplayString as p } from "vue";
|
|
2
2
|
import a from "./normal-column.vue.js";
|
|
3
3
|
import i from "./group-column-item.vue.js";
|
|
4
4
|
const f = e({ __name: "group-column", props: { configure: { type: Object, default: () => ({}) }, pageContext: { type: Object, default: () => ({}) }, groupColumn: { type: Object, default: () => ({}) }, columnsConfigKeyValues: { type: Object, default: () => ({}) } }, setup: (e2) => (f2, C) => {
|
|
5
5
|
const s = o("el-table-column");
|
|
6
|
-
return
|
|
6
|
+
return u(), n(s, { "header-align": "center" }, { header: l(() => [m(p(e2.groupColumn.titleText), 1)]), default: l(() => [e2.groupColumn.children && e2.groupColumn.children.length > 0 ? (u(true), t(c, { key: 0 }, g(e2.groupColumn.children, (o2, l2) => (u(), t(c, { key: l2 }, [o2.children && o2.children.length > 0 ? (u(), n(i, { key: l2, configure: e2.configure, pageContext: e2.pageContext, groupColumnItem: o2, columnsConfigKeyValues: e2.columnsConfigKeyValues }, null, 8, ["configure", "pageContext", "groupColumnItem", "columnsConfigKeyValues"])) : (u(), n(a, { key: 1, pageContext: e2.pageContext, configure: e2.configure, column: e2.columnsConfigKeyValues[o2.columnUuid] }, null, 8, ["pageContext", "configure", "column"]))], 64))), 128)) : r("", true)]), _: 1 });
|
|
7
7
|
} });
|
|
8
8
|
export {
|
|
9
9
|
f as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as o, ref as e, resolveComponent as t,
|
|
1
|
+
import { defineComponent as o, ref as e, resolveComponent as t, createBlock as r, openBlock as p, withCtx as l, createElementBlock as s, Fragment as n, createTextVNode as a, toDisplayString as i, resolveDynamicComponent as u, createVNode as c, createCommentVNode as m, createElementVNode as f, normalizeClass as g } from "vue";
|
|
2
2
|
import "agilebuilder-ui/src/utils/common-util";
|
|
3
3
|
import "agilebuilder-ui/src/utils/util";
|
|
4
4
|
import { formatColContent as d } from "./chart-table-util.js";
|
|
@@ -38,7 +38,7 @@ const k = { key: 0 }, w = { key: 1 }, h = { key: 1 }, x = { key: 2 }, C = o({ __
|
|
|
38
38
|
}
|
|
39
39
|
return C2.column.linkPage && C2.column.linkPage.length > 0 && (j.value = true), (e2, d2) => {
|
|
40
40
|
const y2 = t("el-table-column"), b2 = t("el-progress"), C3 = t("el-tag"), v2 = t("el-link");
|
|
41
|
-
return "$index" === o2.column.props.base.prop ? (
|
|
41
|
+
return "$index" === o2.column.props.base.prop ? (p(), r(y2, { key: 0, label: o2.column.props.base.name, type: "index", align: "center", "header-align": "center", width: "80" }, null, 8, ["label"])) : (p(), r(y2, { key: 1, prop: o2.column.props.base.prop, width: o2.column.props.base.width ? o2.column.props.base.width : "", label: o2.column.props.base.name, "header-align": o2.column.props.base.headerAlign, align: o2.column.props.base.align, fixed: !!o2.column.props.base.fixed && o2.column.props.base.fixed, formatter: O }, { default: l((e3) => [o2.column.props.format && o2.column.props.format.type ? (p(), s(n, { key: 0 }, [a(i(o2.column.props.format.status) + " ", 1), "customControl" === o2.column.props.format.type ? (p(), r(u(o2.column.props.format.customControl), { key: 0, scope: e3, column: o2.column, configure: o2.configure, pageContext: o2.pageContext }, null, 8, ["scope", "column", "configure", "pageContext"])) : "progress" === o2.column.props.format.type ? (p(), r(b2, { key: 1, type: o2.column.props.format.progressType, percentage: e3.row[o2.column.props.base.prop], status: o2.column.props.format.status, "text-inside": o2.column.props.format.showText, "stroke-width": o2.column.props.format.strokeWidth, color: "custom" === o2.column.props.format.colorType ? o2.column.props.format.color : "" }, null, 8, ["type", "percentage", "status", "text-inside", "stroke-width", "color"])) : "icon" === o2.column.props.format.type ? (p(), s(n, { key: 2 }, [o2.column.props.format.isTag ? (p(), s("span", k, [c(C3, { type: o2.column.props.format.tagType, effect: o2.column.props.format.tagEffect, hit: o2.column.props.format.hit, size: o2.column.props.format.size }, { default: l(() => [a(i(e3.row[o2.column.props.base.prop]), 1)]), _: 2 }, 1032, ["type", "effect", "hit", "size"])])) : (p(), s("span", w, ["pre" === o2.column.props.format.position ? (p(), s("i", { key: 0, class: g(o2.column.props.format.icon) }, null, 2)) : m("", true), f("span", null, i(e3.row[o2.column.props.base.prop]), 1), "suf" === o2.column.props.format.position ? (p(), s("i", { key: 1, class: g(o2.column.props.format.icon) }, null, 2)) : m("", true)]))], 64)) : (p(), s(n, { key: 3 }, [j.value && _(e3.row) ? (p(), r(v2, { key: 0, type: "primary", onClick: (o3) => P(e3.row) }, { default: l(() => [a(i(T(e3.row, o2.column.props.format)), 1)]), _: 2 }, 1032, ["onClick"])) : (p(), s("span", h, i(T(e3.row, o2.column.props.format)), 1))], 64))], 64)) : j.value && _(e3.row) ? (p(), r(v2, { key: 1, type: "primary", onClick: (o3) => P(e3.row) }, { default: l(() => [a(i(e3.row[o2.column.props.base.prop]), 1)]), _: 2 }, 1032, ["onClick"])) : (p(), s("span", x, i(e3.row[o2.column.props.base.prop]), 1))]), _: 1 }, 8, ["prop", "width", "label", "header-align", "align", "fixed"]));
|
|
42
42
|
};
|
|
43
43
|
} });
|
|
44
44
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as a, resolveComponent as t,
|
|
1
|
+
import { defineComponent as e, ref as a, resolveComponent as t, createElementBlock as n, openBlock as p, createVNode as l } from "vue";
|
|
2
2
|
const u = { style: { padding: "5px", "text-align": "center" } }, g = e({ __name: "table-pageination", props: { configure: { type: Object, default: () => ({}) }, pageContext: { type: Object, default: () => ({}) }, column: { type: Object, default: () => ({}) }, total: { type: Number, default: 0 } }, emits: ["pageChange", "pageSizeChange"], setup(e2, { emit: g2 }) {
|
|
3
3
|
const i = e2, o = g2, r = a(1), s = a(i.configure.pageination.pageSize), c = (e3) => {
|
|
4
4
|
r.value = e3, o("pageChange", r.value, s.value);
|
|
@@ -7,7 +7,7 @@ const u = { style: { padding: "5px", "text-align": "center" } }, g = e({ __name:
|
|
|
7
7
|
};
|
|
8
8
|
return (a2, g3) => {
|
|
9
9
|
const i2 = t("el-pagination");
|
|
10
|
-
return
|
|
10
|
+
return p(), n("div", u, [l(i2, { "current-page": r.value, "onUpdate:currentPage": g3[0] || (g3[0] = (e3) => r.value = e3), "page-size": s.value, "onUpdate:pageSize": g3[1] || (g3[1] = (e3) => s.value = e3), "page-sizes": [10, 30, 50, 100], size: "small", layout: "total, sizes, prev, pager, next, jumper", total: e2.total, onCurrentChange: c, onSizeChange: v }, null, 8, ["current-page", "page-size", "total"])]);
|
|
11
11
|
};
|
|
12
12
|
} });
|
|
13
13
|
export {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as e, ref as o, computed as r, onMounted as t, watch as n, resolveComponent as i,
|
|
1
|
+
import { defineComponent as e, ref as o, computed as r, onMounted as t, watch as n, resolveComponent as i, createElementBlock as a, openBlock as u, normalizeClass as p, normalizeStyle as l, unref as s, withDirectives as c, createVNode as g, createBlock as f, createCommentVNode as m, vShow as d, withCtx as h, Fragment as v, renderList as y, h as C } from "vue";
|
|
2
2
|
import b from "../common/common-chart-header.vue.js";
|
|
3
3
|
import { getSizeConfig as x, getChartDatasFromPage as O, getValueFromVariable as S, caculateShowCondition as w, isPromise as E, setValueForVariableName as j, updateChartDatasourcesByComponent as $ } from "../../../../utils/page-helper-util.js";
|
|
4
4
|
import { handleChartEvent as F, getCustomFunc as k } from "../../../../utils/events/event-util.js";
|
|
5
5
|
import N from "./group-column.vue.js";
|
|
6
6
|
import I from "./normal-column.vue.js";
|
|
7
7
|
import R from "./table-pageination.vue.js";
|
|
8
|
-
import { getSummaryTitleColumn as T, getSummaryDataColumn as H, rowDataToColumn as D, getColumnToRowTableConfig as J, colDataToRow as U, computeFormula as _, getNewColumnConfig as z, summaryStatistics as A, replacePlaceholders as P,
|
|
8
|
+
import { getSummaryTitleColumn as T, getSummaryDataColumn as H, rowDataToColumn as D, getColumnToRowTableConfig as J, colDataToRow as U, computeFormula as _, getNewColumnConfig as z, summaryStatistics as A, replacePlaceholders as P, getIndexColumn as V, getHeaderCellStyleUtil as G, getRowStyleUtil as K, getCellStyleUtil as L, mergeRowByProperty as q, formatColContent as B } from "./chart-table-util.js";
|
|
9
9
|
import { deepCopy as M } from "../../../../utils/common-util.js";
|
|
10
10
|
const Q = e({ __name: "table-runtime", props: { configure: { type: Object, default: () => ({}) }, pageContext: { type: Object, default: () => ({}) } }, setup(e2, { expose: Q2 }) {
|
|
11
11
|
var _a;
|
|
@@ -19,7 +19,7 @@ const Q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
|
|
|
19
19
|
}), e3.sort((e4, o2) => e4.displayOrder - o2.displayOrder), ue.value = e3, function() {
|
|
20
20
|
if (W.configure.props.base.showIndex) {
|
|
21
21
|
ue.value.unshift({ columnUuid: "$index", displayOrder: 0, isLeaf: true, prop: "$index", titleText: "序号", uuid: "$index" });
|
|
22
|
-
const e4 =
|
|
22
|
+
const e4 = V();
|
|
23
23
|
e4 && (pe.value.$index = e4);
|
|
24
24
|
}
|
|
25
25
|
}();
|
|
@@ -144,7 +144,7 @@ const Q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
|
|
|
144
144
|
}
|
|
145
145
|
!function(e4) {
|
|
146
146
|
if (W.configure.props.base.showIndex && -1 === e4.findIndex((e5) => "$index" === e5.props.base.prop)) {
|
|
147
|
-
const o3 =
|
|
147
|
+
const o3 = V();
|
|
148
148
|
o3 && e4.unshift(o3);
|
|
149
149
|
}
|
|
150
150
|
}(ie.value);
|
|
@@ -154,14 +154,14 @@ const Q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
|
|
|
154
154
|
}
|
|
155
155
|
function je(e3) {
|
|
156
156
|
const o2 = me.value[e3.column.property] ? me.value[e3.column.property].titleStyle : null, r2 = Y == null ? void 0 : Y.titleStyle;
|
|
157
|
-
return
|
|
157
|
+
return G(e3, { cellTitleStyle: o2, titleStyle: r2 }, W);
|
|
158
158
|
}
|
|
159
159
|
function $e(e3) {
|
|
160
|
-
return
|
|
160
|
+
return K(e3, fe, W);
|
|
161
161
|
}
|
|
162
162
|
function Fe(e3) {
|
|
163
163
|
const o2 = me.value[e3.column.property] ? me.value[e3.column.property].cellStyle : null;
|
|
164
|
-
return
|
|
164
|
+
return L(e3, o2, W);
|
|
165
165
|
}
|
|
166
166
|
xe && xe.fixHeight && (be = xe.fixHeight), xe && xe.maxHeight && (be = xe.maxHeight), be && (be = Number(be + "")), t(() => {
|
|
167
167
|
const e3 = O(W.pageContext, W.configure);
|
|
@@ -198,7 +198,7 @@ const Q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
|
|
|
198
198
|
const i3 = n3.apply(n3, [{ tableData: ne.value, row: e3, column: o2, rowIndex: r2, columnIndex: t2 }]);
|
|
199
199
|
if (i3) return i3;
|
|
200
200
|
}
|
|
201
|
-
} else if (i2 && i2.mergeColumn, i2 && i2.mergeRow && i2.mergeRow.includes(n2)) return
|
|
201
|
+
} else if (i2 && i2.mergeColumn, i2 && i2.mergeRow && i2.mergeRow.includes(n2)) return q(e3, o2, r2, n2, ne.value);
|
|
202
202
|
}
|
|
203
203
|
function Ie(e3, o2) {
|
|
204
204
|
"frontend" === W.configure.pageination.type ? Te(e3, o2) : He(e3, o2);
|
|
@@ -251,7 +251,7 @@ const Q = e({ __name: "table-runtime", props: { configure: { type: Object, defau
|
|
|
251
251
|
}(r2), columns: e3, title: oe == null ? void 0 : oe.title };
|
|
252
252
|
} }), (o2, r2) => {
|
|
253
253
|
const t2 = i("el-table");
|
|
254
|
-
return
|
|
254
|
+
return u(), a("div", { style: l(s(Y)), class: p([s(Z), "amb-widget-chart amb-widget-flex amb-chart-table"]), ref: "thisRef" }, [c(g(b, { ref_key: "headerRef", ref: re, headerInfo: s(oe), configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["headerInfo", "configure", "pageContext"]), [[d, s(oe).showHeader || e2.pageContext.showHomepageSearch]]), g(t2, { ref_key: "gridRef", ref: he, data: ne.value, style: { width: "100%" }, "max-height": s(be), "header-cell-style": je, "row-style": $e, "cell-style": Fe, "show-summary": le.value, stripe: e2.configure.props.base.stripe, "summary-method": ke, "span-method": Ne }, { default: h(() => [te.value ? (u(true), a(v, { key: 0 }, y(ue.value, (o3, r3) => (u(), a(v, { key: r3 }, [o3.isLeaf ? (u(), f(I, { key: 1, configure: e2.configure, pageContext: e2.pageContext, column: pe.value[o3.columnUuid] }, null, 8, ["configure", "pageContext", "column"])) : (u(), f(N, { key: 0, configure: e2.configure, pageContext: e2.pageContext, groupColumn: o3, columnsConfigKeyValues: pe.value }, null, 8, ["configure", "pageContext", "groupColumn", "columnsConfigKeyValues"]))], 64))), 128)) : (u(true), a(v, { key: 1 }, y(ve.value, (o3, r3) => (u(), f(I, { key: r3, column: o3, configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["column", "configure", "pageContext"]))), 128))]), _: 1 }, 8, ["data", "max-height", "show-summary", "stripe"]), e2.configure.pageination && e2.configure.pageination.enable ? (u(), f(R, { key: 0, configure: e2.configure, "table-data": ne.value, total: ye.value, onPageChange: Ie, onPageSizeChange: Re }, null, 8, ["configure", "table-data", "total"])) : m("", true)], 6);
|
|
255
255
|
};
|
|
256
256
|
} });
|
|
257
257
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as o,
|
|
1
|
+
import { defineComponent as e, ref as o, createBlock as n, openBlock as r, resolveDynamicComponent as t, mergeProps as l, nextTick as u, markRaw as a } from "vue";
|
|
2
2
|
import { getRuntimeComponentByName as c } from "../../../utils/assemblys-config.js";
|
|
3
3
|
import s from "../error-render.vue.js";
|
|
4
4
|
const m = e({ __name: "event-call-component", setup(e2, { expose: m2 }) {
|
|
@@ -13,7 +13,7 @@ const m = e({ __name: "event-call-component", setup(e2, { expose: m2 }) {
|
|
|
13
13
|
} catch (e4) {
|
|
14
14
|
console.error("event-call-component renderedComponent error", e4), p.value = s;
|
|
15
15
|
}
|
|
16
|
-
} }), (e3, o2) => (
|
|
16
|
+
} }), (e3, o2) => (r(), n(t(p.value), l(v.value, { onDestroy: f }), null, 16));
|
|
17
17
|
} });
|
|
18
18
|
export {
|
|
19
19
|
m as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, onMounted as a, resolveComponent as l,
|
|
1
|
+
import { defineComponent as e, ref as t, onMounted as a, resolveComponent as l, createBlock as o, openBlock as u, withCtx as n, createVNode as i, createTextVNode as p, toDisplayString as r } from "vue";
|
|
2
2
|
import { packageTemplateFiles as s } from "../../../utils/common-util.js";
|
|
3
3
|
import { ElMessage as m } from "element-plus";
|
|
4
4
|
const c = "${", d = "}", g = e({ __name: "export-form-report-dialog", props: { configure: { type: Object, required: true }, pageContext: { type: Object, required: true } }, emits: ["export", "close"], setup(e2, { emit: g2 }) {
|
|
@@ -28,7 +28,7 @@ const c = "${", d = "}", g = e({ __name: "export-form-report-dialog", props: { c
|
|
|
28
28
|
}), b.value && 0 !== b.value.length || (m({ message: "无符合条件可导出的模板!", type: "warning" }), x("close")), 1 === (b == null ? void 0 : b.value.length) ? (N(b.value[0]), x("close")) : v.value = true;
|
|
29
29
|
}), (e3, t2) => {
|
|
30
30
|
const a2 = l("el-table-column"), s2 = l("el-button"), m2 = l("el-table"), c2 = l("el-dialog");
|
|
31
|
-
return
|
|
31
|
+
return u(), o(c2, { modelValue: v.value, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => v.value = e4), "show-close": true, "append-to-body": true, title: e3.$t("superPageRuntimeMessage.selectTemplate"), onClose: O }, { default: n(() => [i(m2, { data: b.value, style: { width: "100%" } }, { default: n(() => [i(a2, { label: e3.$t("superPageRuntimeMessage.temlpate"), prop: "templateShowPath" }, { default: n((e4) => [p(r(e4.row.templateName), 1)]), _: 1 }, 8, ["label"]), i(a2, { label: e3.$t("superPageRuntimeMessage.operating"), width: "200", fixed: "right" }, { default: n((t3) => [i(s2, { type: "text", size: "small", onClick: (e4) => N(t3.row), loading: void 0 !== f.pageContext.canClick && void 0 !== f.pageContext.clickUuid && !f.pageContext.canClick && f.pageContext.clickUuid === f.configure.uuid }, { default: n(() => [p(r(e3.$t("superPageRuntimeMessage.export")), 1)]), _: 1 }, 8, ["onClick", "loading"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data"])]), _: 1 }, 8, ["modelValue", "title"]);
|
|
32
32
|
};
|
|
33
33
|
} });
|
|
34
34
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, resolveComponent as t,
|
|
1
|
+
import { defineComponent as e, resolveComponent as t, createElementBlock as a, createCommentVNode as s, unref as i, openBlock as l, createBlock as n, createElementVNode as r, createVNode as d, withCtx as c, createTextVNode as u, toDisplayString as m } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
3
|
import k from "./format-file-task-notice-message.vue.js";
|
|
4
4
|
import { useI18n as p } from "vue-i18n";
|
|
@@ -27,7 +27,7 @@ const g = { key: 0 }, o = { key: 0 }, T = { key: 0 }, f = { key: 1 }, S = { key:
|
|
|
27
27
|
}
|
|
28
28
|
return b2({}), (p2, b3) => {
|
|
29
29
|
const F2 = t("el-text"), v2 = t("Edit"), U2 = t("el-icon"), C = t("el-link");
|
|
30
|
-
return
|
|
30
|
+
return i(M) && i(M).taskCode ? (l(), a("div", g, [i(M).export ? (l(), a("div", f, ["Success" === i(M).taskState && i(M).serverPath ? (l(), n(C, { key: 0, underline: "always", type: x(i(M)), onClick: b3[1] || (b3[1] = (e3) => R()) }, { default: c(() => [d(k, { message: h(), backendUrl: e2.backendUrl, serverPath: e2.lastFileTask.serverPath, fileName: e2.lastFileTask.fileName, createdTime: e2.lastFileTask.createdTime, endTime: e2.lastFileTask.modifiedTime }, null, 8, ["message", "backendUrl", "serverPath", "fileName", "createdTime", "endTime"])]), _: 1 }, 8, ["type"])) : (l(), a("div", S, [i(M).taskState ? (l(), a("span", y, [r("span", null, [d(F2, { type: x(i(M)) }, { default: c(() => [u(m($() + _(i(M).taskState)), 1)]), _: 1 }, 8, ["type"])]), d(F2, { style: { "padding-left": "5px" } }, { default: c(() => [d(U2, { onClick: b3[2] || (b3[2] = (e3) => R()), title: i(P)("superPageRuntimeMessage.hasReadTip") }, { default: c(() => [d(v2)]), _: 1 }, 8, ["title"])]), _: 1 })])) : s("", true), i(M).taskState && "Success" === i(M).taskState ? s("", true) : (l(), n(k, { key: 1, message: h(), backendUrl: e2.backendUrl, createdTime: e2.lastFileTask.createdTime, endTime: e2.lastFileTask.modifiedTime }, null, 8, ["message", "backendUrl", "createdTime", "endTime"]))]))])) : (l(), a("div", o, [i(M).taskState ? (l(), a("span", T, [r("span", null, [d(F2, { type: x(i(M)) }, { default: c(() => [u(m($() + _(i(M).taskState)), 1)]), _: 1 }, 8, ["type"])]), d(F2, { style: { "padding-left": "5px" } }, { default: c(() => [d(U2, { onClick: b3[0] || (b3[0] = (e3) => R()), title: i(P)("superPageRuntimeMessage.hasReadTip") }, { default: c(() => [d(v2)]), _: 1 }, 8, ["title"])]), _: 1 })])) : (l(), n(F2, { key: 1, type: x(i(M)) }, { default: c(() => [d(k, { message: h(), backendUrl: e2.backendUrl, createdTime: e2.lastFileTask.createdTime, endTime: e2.lastFileTask.modifiedTime }, null, 8, ["message", "backendUrl", "createdTime", "endTime"])]), _: 1 }, 8, ["type"])), i(M).taskState && "Success" !== i(M).taskState ? (l(), n(k, { key: 2, createdTime: i(M).createdTime, endTime: i(M).modifiedTime, message: h(), backendUrl: e2.backendUrl }, null, 8, ["createdTime", "endTime", "message", "backendUrl"])) : s("", true)]))])) : s("", true);
|
|
31
31
|
};
|
|
32
32
|
} });
|
|
33
33
|
export {
|
package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e,
|
|
1
|
+
import { defineComponent as e, createElementBlock as t, openBlock as i, normalizeStyle as r, createCommentVNode as l, toDisplayString as u, unref as a, Fragment as s, renderList as n } from "vue";
|
|
2
2
|
import "agilebuilder-ui/src/utils/auth";
|
|
3
3
|
import "agilebuilder-ui/src/utils/common-util";
|
|
4
4
|
import "agilebuilder-ui/src/utils/util";
|
|
@@ -25,7 +25,7 @@ const p = { key: 1 }, d = ["innerHTML"], m = { key: 2 }, g = e({ __name: "format
|
|
|
25
25
|
let e3 = c.message;
|
|
26
26
|
return e3 ? e3.split("~~") : [];
|
|
27
27
|
}
|
|
28
|
-
return (o2, c2) => (
|
|
28
|
+
return (o2, c2) => (i(), t("div", { style: r("padding-top: 10px;width: 100%;overflow-y:auto;max-height:" + f + "px;") }, [e2.createdTime ? (i(), t("div", { key: 0, style: r(e2.serverPath ? "padding-top: 10px" : "") }, u(y(e2.createdTime) + a(g2)("superPageRuntimeMessage.startExecute")), 5)) : l("", true), e2.message ? (i(), t("div", p, [(i(true), t(s, null, n(S(), (e3, r2) => (i(), t("div", { key: r2, style: { "padding-top": "10px" }, innerHTML: e3 }, null, 8, d))), 128))])) : l("", true), e2.endTime ? (i(), t("div", m, u(y(e2.endTime) + a(g2)("superPageRuntimeMessage.endExecute")), 1)) : l("", true)], 4));
|
|
29
29
|
} });
|
|
30
30
|
export {
|
|
31
31
|
g as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, resolveComponent as s,
|
|
1
|
+
import { defineComponent as e, ref as t, resolveComponent as s, createElementBlock as l, openBlock as o, createVNode as a, withCtx as n, createElementVNode as r, createTextVNode as u, toDisplayString as i } from "vue";
|
|
2
2
|
import { ElMessage as m } from "element-plus";
|
|
3
3
|
import { useI18n as p } from "vue-i18n";
|
|
4
4
|
import d from "./remove-signer-table.vue.js";
|
|
@@ -9,7 +9,7 @@ const c = { class: "dialog-footer" }, v = e({ __name: "remove-signer-dialog", pr
|
|
|
9
9
|
}
|
|
10
10
|
return (t2, m2) => {
|
|
11
11
|
const p2 = s("el-button"), v3 = s("el-dialog");
|
|
12
|
-
return
|
|
12
|
+
return o(), l("div", null, [a(v3, { "model-value": "", title: t2.$t("superPageRuntimeMessage.selectRemoveUsers"), "close-on-click-modal": false, "append-to-body": "", width: "30%", "max-height": "400", onOpen: m2[1] || (m2[1] = (e3) => f("open")), onOpend: m2[2] || (m2[2] = (e3) => f("opend")), onClose: m2[3] || (m2[3] = (e3) => f("close")), onClosed: m2[4] || (m2[4] = (e3) => f("closed")) }, { footer: n(() => [r("div", c, [a(p2, { type: "primary", onClick: R }, { default: n(() => [u(i(t2.$t("superPageRuntimeMessage.sure")), 1)]), _: 1 }), a(p2, { type: "default", onClick: m2[0] || (m2[0] = (e3) => t2.$emit("close")) }, { default: n(() => [u(i(t2.$t("superPageRuntimeMessage.cancel")), 1)]), _: 1 })])]), default: n(() => [a(d, { ref_key: "removeTableRef", ref: y, taskId: e2.taskId, activeTasks: e2.activeTasks }, null, 8, ["taskId", "activeTasks"])]), _: 1 }, 8, ["title"])]);
|
|
13
13
|
};
|
|
14
14
|
} });
|
|
15
15
|
export {
|