super-page-runtime 2.2.0 → 2.2.1
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/_virtual/_plugin-vue_export-helper.js +1 -2
- package/dist/es/components/runtime/index.d.ts +2 -1
- package/dist/es/components/runtime/utils/api/page-expose-util.js +70 -72
- package/dist/es/components/runtime/utils/assemblys-config.js +2 -4
- package/dist/es/components/runtime/utils/barcode-util.js +1 -2
- package/dist/es/components/runtime/utils/charts/chart-columnline-util.js +59 -81
- package/dist/es/components/runtime/utils/charts/chart-gauge-util.js +2 -4
- package/dist/es/components/runtime/utils/charts/chart-pie-util.js +8 -16
- package/dist/es/components/runtime/utils/charts/chart-radar-util.js +10 -18
- package/dist/es/components/runtime/utils/charts/chart-scatter-util.js +20 -25
- package/dist/es/components/runtime/utils/charts/chart-util.d.ts +1 -0
- package/dist/es/components/runtime/utils/charts/chart-util.js +200 -218
- package/dist/es/components/runtime/utils/common-util.js +7 -14
- package/dist/es/components/runtime/utils/events/event-util.js +97 -115
- package/dist/es/components/runtime/utils/events/print-label.js +20 -21
- package/dist/es/components/runtime/utils/events/standard-event.d.ts +2 -2
- package/dist/es/components/runtime/utils/events/standard-event.js +295 -337
- package/dist/es/components/runtime/utils/events/validator-util.js +85 -116
- package/dist/es/components/runtime/utils/form/date-shortcuts.js +1 -2
- package/dist/es/components/runtime/utils/form/scan-util.js +10 -17
- package/dist/es/components/runtime/utils/global-refs.js +7 -14
- package/dist/es/components/runtime/utils/i18n-util.js +1 -2
- package/dist/es/components/runtime/utils/interfaces/page-design-types.d.ts +2 -0
- package/dist/es/components/runtime/utils/page-helper-util.js +66 -116
- package/dist/es/components/runtime/utils/page-init-util.d.ts +6 -1
- package/dist/es/components/runtime/utils/page-init-util.js +65 -69
- package/dist/es/components/runtime/utils/page-permission-util.js +2 -4
- package/dist/es/components/runtime/utils/page-store.d.ts +2 -2
- package/dist/es/components/runtime/utils/table-utils.js +4 -8
- package/dist/es/components/runtime/utils/tree-utils.js +13 -15
- 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 +3 -4
- 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 +24 -28
- 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 +44 -40
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +44 -0
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +20 -20
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +20 -20
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +20 -20
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +22 -22
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.d.ts +34 -1
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +205 -170
- 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 +19 -50
- 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 +151 -120
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +4 -4
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +6 -6
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +9 -11
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +6 -6
- 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/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 +7 -7
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +60 -72
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +91 -95
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +6 -9
- 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.d.ts +4 -4
- 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 +6 -8
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +4 -6
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +7 -9
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +10 -13
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +25 -28
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +3 -4
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +3 -4
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +5 -5
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +9 -10
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +9 -11
- 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.vue.js +1 -1
- 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 +15 -20
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +20 -25
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +15 -20
- 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 +4 -5
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +5 -5
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.d.ts +17 -0
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +97 -0
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue2.js +4 -0
- package/dist/es/components/runtime/views/assemblys/object-render.vue.d.ts +1 -1
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +33 -43
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue2.js +3 -4
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue2.js +3 -4
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +3 -4
- 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.d.ts +23 -0
- package/dist/es/components/runtime/views/home-chart.vue.js +36 -0
- package/dist/es/components/runtime/views/home-chart.vue2.js +4 -0
- package/dist/es/components/runtime/views/super-page-dialog.vue.d.ts +3 -3
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +15 -13
- package/dist/es/components/runtime/views/super-page.vue.d.ts +15 -6
- package/dist/es/components/runtime/views/super-page.vue.js +171 -182
- package/dist/es/index.d.ts +2 -2
- package/dist/es/index.js +6 -4
- package/package.json +74 -74
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue3.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as e, ref as r, onMounted as t, watch as o,
|
|
2
|
-
import { getCustomTheme as m, initChartOption as
|
|
1
|
+
import { defineComponent as e, ref as r, onMounted as t, watch as o, createElementBlock as a, openBlock as n, normalizeClass as u, normalizeStyle as s, unref as i, withDirectives as p, createVNode as c, vShow as f } from "vue";
|
|
2
|
+
import { getCustomTheme as m, 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";
|
|
5
5
|
import v from "../common/common-chart-header.vue.js";
|
|
@@ -7,29 +7,29 @@ import { use as R } from "echarts/core";
|
|
|
7
7
|
import { CanvasRenderer as y } from "echarts/renderers";
|
|
8
8
|
import { RadarChart as V } from "echarts/charts";
|
|
9
9
|
import { GridComponent as _, TitleComponent as j, TooltipComponent as I, ToolboxComponent as k, LegendComponent as w } from "echarts/components";
|
|
10
|
-
import
|
|
11
|
-
const
|
|
10
|
+
import H from "vue-echarts";
|
|
11
|
+
const b = e({ __name: "radar-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: b2 }) {
|
|
12
12
|
R([y, V, _, j, I, k, w]);
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
const e3 = g(
|
|
16
|
-
e3 &&
|
|
13
|
+
const z = e2, D = r(null), F = r(null), O = r(null), P = z.configure.runtime ? z.configure.runtime : {}, S = P.style, T = P.class, q = P.dataConfig, A = P.headerInfo ? P.headerInfo : {}, B = P.chartOption, E = z.configure.props ? z.configure.props : {}, G = m(E.customTheme);
|
|
14
|
+
h(z.configure, B), t(() => {
|
|
15
|
+
const e3 = g(z.pageContext, z.configure);
|
|
16
|
+
e3 && M(e3);
|
|
17
17
|
});
|
|
18
|
-
let
|
|
19
|
-
function
|
|
20
|
-
|
|
18
|
+
let J = A.groupValue;
|
|
19
|
+
function K() {
|
|
20
|
+
q && d(z.pageContext, [q], A.drillParams);
|
|
21
21
|
}
|
|
22
|
-
o(
|
|
23
|
-
|
|
22
|
+
o(A, () => {
|
|
23
|
+
J != A.groupValue && (J = A.groupValue, q && (q.services[0].groupValue = A.groupValue), K());
|
|
24
24
|
});
|
|
25
|
-
const
|
|
26
|
-
function
|
|
27
|
-
e3 || (e3 = []), (e3 = e3.length > 0 ? e3[0] : {}) || (e3 = {}), e3.hasRender ? e3.hasRender = true : (e3.hasRender = true, C(
|
|
25
|
+
const L = A.monitorFields;
|
|
26
|
+
function M(e3) {
|
|
27
|
+
e3 || (e3 = []), (e3 = e3.length > 0 ? e3[0] : {}) || (e3 = {}), e3.hasRender ? e3.hasRender = true : (e3.hasRender = true, C(z.pageContext, z.configure, B, e3));
|
|
28
28
|
}
|
|
29
|
-
return x(
|
|
30
|
-
|
|
31
|
-
} }), (e3, r2) => (
|
|
29
|
+
return x(z.pageContext, L, K), b2({ updateChartDatas: M, exportChart: function() {
|
|
30
|
+
return l(F.value);
|
|
31
|
+
} }), (e3, r2) => (n(), a("div", { style: s(i(S)), class: u([i(T), "amb-widget-chart"]), ref_key: "thisRef", ref: D }, [p(c(v, { ref_key: "headerRef", ref: O, headerInfo: i(A), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["headerInfo", "configure", "pageContext"]), [[f, i(A).showHeader || e3.pageContext.showHomepageSearch]]), c(i(H), { ref_key: "chartRef", ref: F, theme: i(G), option: i(B), autoresize: "" }, null, 8, ["theme", "option"])], 6));
|
|
32
32
|
} });
|
|
33
33
|
export {
|
|
34
|
-
|
|
34
|
+
b as default
|
|
35
35
|
};
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { defineComponent as e, ref as r, onMounted as t, watch as o,
|
|
2
|
-
import { getCustomTheme as m, initChartOption as
|
|
1
|
+
import { defineComponent as e, ref as r, onMounted as t, watch as o, createElementBlock as a, openBlock as n, normalizeClass as u, normalizeStyle as s, unref as i, withDirectives as c, createVNode as p, vShow as f } from "vue";
|
|
2
|
+
import { getCustomTheme as m, 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";
|
|
5
5
|
import v from "../common/common-chart-header.vue.js";
|
|
6
6
|
import { use as R } from "echarts/core";
|
|
7
7
|
import { CanvasRenderer as y } from "echarts/renderers";
|
|
8
8
|
import { ScatterChart as V } from "echarts/charts";
|
|
9
|
-
import { GridComponent as _, LegendComponent as j, TitleComponent as I, TooltipComponent as k, ToolboxComponent as w, DataZoomComponent as
|
|
10
|
-
import
|
|
11
|
-
const
|
|
12
|
-
R([y, V, _, j, I, k, w,
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
const e3 = g(
|
|
16
|
-
e3 &&
|
|
9
|
+
import { GridComponent as _, LegendComponent as j, TitleComponent as I, TooltipComponent as k, ToolboxComponent as w, DataZoomComponent as H } from "echarts/components";
|
|
10
|
+
import b from "vue-echarts";
|
|
11
|
+
const z = e({ __name: "scatter-runtime", props: { pageContext: {}, configure: {} }, setup(e2, { expose: z2 }) {
|
|
12
|
+
R([y, V, _, j, I, k, w, H]);
|
|
13
|
+
const D = e2, F = r(null), O = r(null), P = r(null), S = D.configure.runtime ? D.configure.runtime : {}, T = S.style, q = S.class, A = S.dataConfig, B = S.headerInfo ? S.headerInfo : {}, E = S.chartOption, G = D.configure.props ? D.configure.props : {}, J = m(G.customTheme);
|
|
14
|
+
h(D.configure, E), t(() => {
|
|
15
|
+
const e3 = g(D.pageContext, D.configure);
|
|
16
|
+
e3 && N(e3);
|
|
17
17
|
});
|
|
18
|
-
let
|
|
19
|
-
function
|
|
20
|
-
|
|
18
|
+
let K = B.groupValue;
|
|
19
|
+
function L() {
|
|
20
|
+
A && d(D.pageContext, [A], B.drillParams);
|
|
21
21
|
}
|
|
22
|
-
o(
|
|
23
|
-
|
|
22
|
+
o(B, () => {
|
|
23
|
+
K != B.groupValue && (K = B.groupValue, A && (A.services[0].groupValue = B.groupValue), L());
|
|
24
24
|
});
|
|
25
|
-
const
|
|
26
|
-
function
|
|
27
|
-
e3 || (e3 = []), (e3 = e3.length > 0 ? e3[0] : {}) || (e3 = {}), e3.hasRender ? e3.hasRender = true : (e3.hasRender = true, C(
|
|
25
|
+
const M = B.monitorFields;
|
|
26
|
+
function N(e3) {
|
|
27
|
+
e3 || (e3 = []), (e3 = e3.length > 0 ? e3[0] : {}) || (e3 = {}), e3.hasRender ? e3.hasRender = true : (e3.hasRender = true, C(D.pageContext, D.configure, E, e3));
|
|
28
28
|
}
|
|
29
|
-
return x(
|
|
30
|
-
|
|
31
|
-
} }), (e3, r2) => (
|
|
29
|
+
return x(D.pageContext, M, L), z2({ updateChartDatas: N, exportChart: function() {
|
|
30
|
+
return l(O.value);
|
|
31
|
+
} }), (e3, r2) => (n(), a("div", { style: s(i(T)), class: u([i(q), "amb-widget-chart"]), ref_key: "thisRef", ref: F }, [c(p(v, { ref_key: "headerRef", ref: P, headerInfo: i(B), configure: e3.configure, pageContext: e3.pageContext }, null, 8, ["headerInfo", "configure", "pageContext"]), [[f, i(B).showHeader || e3.pageContext.showHomepageSearch]]), p(i(b), { ref_key: "chartRef", ref: O, theme: i(J), option: i(E), autoresize: "" }, null, 8, ["theme", "option"])], 6));
|
|
32
32
|
} });
|
|
33
33
|
export {
|
|
34
|
-
|
|
34
|
+
z as default
|
|
35
35
|
};
|
|
@@ -36,7 +36,7 @@ export declare function replacePlaceholders(template: string, data: {
|
|
|
36
36
|
export declare function getHeaderCellStyleUtil(data: any, runtimeStyle: any, props: any): any;
|
|
37
37
|
export declare function getRowStyleUtil(data: any, groupSummaryDataRowIndex: number[], props: any): any;
|
|
38
38
|
export declare function getCellStyleUtil(data: any, cellStyles: any, props: any): {};
|
|
39
|
-
export declare function rowDataToColumn(data: any, configure: Component): any;
|
|
39
|
+
export declare function rowDataToColumn(data: any, configure: Component, sourceTableColumnsConfig: any): any;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @param data 数据
|
|
@@ -75,5 +75,38 @@ export declare function getIndexColumn(): {
|
|
|
75
75
|
tittleClass: string;
|
|
76
76
|
};
|
|
77
77
|
};
|
|
78
|
+
export declare function getNewColumnConfig(prop: string, name: string, displayOrder: number, dataType: string): {
|
|
79
|
+
uuid: number;
|
|
80
|
+
name: string;
|
|
81
|
+
props: {
|
|
82
|
+
base: {
|
|
83
|
+
prop: string;
|
|
84
|
+
name: string;
|
|
85
|
+
displayOrder: number;
|
|
86
|
+
sortable: boolean;
|
|
87
|
+
headerAlign: string;
|
|
88
|
+
align: string;
|
|
89
|
+
fixed: boolean;
|
|
90
|
+
visible: boolean;
|
|
91
|
+
dataType: string;
|
|
92
|
+
};
|
|
93
|
+
format: {};
|
|
94
|
+
size: {
|
|
95
|
+
pc: {};
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
style: {};
|
|
99
|
+
componentIndex: number;
|
|
100
|
+
runtime: {
|
|
101
|
+
common: {
|
|
102
|
+
class: string;
|
|
103
|
+
style: {
|
|
104
|
+
pc_style: {};
|
|
105
|
+
pc_class: string;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
};
|
|
78
110
|
export declare function computeFormula(itemConfs: any, datas: any, entity: any): void;
|
|
111
|
+
export declare function formatColContent(row: any, format: any, column: any, pageContext: any, configure: any): any;
|
|
79
112
|
export {};
|