super-page-runtime 0.0.2-tmp7 → 1.0.2
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/index.d.ts +1 -3
- package/dist/es/components/runtime/index.js +4 -0
- package/dist/es/components/runtime/utils/assemblys-config.js +1 -8
- package/dist/es/components/runtime/utils/charts/chart-util.js +1 -14
- package/dist/es/components/runtime/utils/common-util.d.ts +0 -5
- package/dist/es/components/runtime/utils/common-util.js +0 -13
- package/dist/es/components/runtime/utils/interfaces/page-design-types.d.ts +0 -2
- package/dist/es/components/runtime/utils/page-helper-util.d.ts +0 -19
- package/dist/es/components/runtime/utils/page-helper-util.js +0 -116
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +3 -198
- package/dist/es/components/runtime/views/super-page.vue.js +2 -16
- package/dist/es/components/super-page-dialog/index.d.ts +3 -0
- package/dist/es/components/{runtime/views → super-page-dialog}/super-page-dialog.vue.js +1 -1
- package/dist/es/components/super-page-dialog/super-page-dialog.vue2.js +4 -0
- package/dist/es/components/wf-editor/index.d.ts +3 -0
- package/dist/es/components/wf-editor/index.js +4 -0
- package/dist/es/components/wf-editor/wf-editor.css +4 -0
- package/dist/es/components/wf-editor/wf-editor.vue.js +16 -0
- package/dist/es/index.d.ts +4 -7
- package/dist/es/index.js +3 -12
- package/dist/favicon.ico +0 -0
- package/dist/lib/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/lib/assets/chart-themes/theme1.js +7 -0
- package/dist/lib/assets/chart-themes/theme2.js +7 -0
- package/dist/lib/assets/chart-themes/theme3.js +7 -0
- package/dist/lib/components/runtime/index.d.ts +3 -0
- package/dist/lib/components/runtime/index.js +3 -0
- package/dist/lib/components/runtime/utils/api/api-util.d.ts +11 -0
- package/dist/lib/components/runtime/utils/api/api-util.js +128 -0
- package/dist/lib/components/runtime/utils/assemblys-config.js +258 -0
- package/dist/lib/components/runtime/utils/charts/chart-util.js +15 -0
- package/dist/lib/components/runtime/utils/common-util.d.ts +11 -0
- package/dist/lib/components/runtime/utils/common-util.js +81 -0
- package/dist/lib/components/runtime/utils/eventBus.d.ts +7 -0
- package/dist/lib/components/runtime/utils/eventBus.js +10 -0
- package/dist/lib/components/runtime/utils/events/event-util.d.ts +48 -0
- package/dist/lib/components/runtime/utils/events/event-util.js +526 -0
- package/dist/lib/components/runtime/utils/events/standard-event.d.ts +61 -0
- package/dist/lib/components/runtime/utils/events/standard-event.js +1624 -0
- package/dist/lib/components/runtime/utils/events/validator-util.d.ts +4 -0
- package/dist/lib/components/runtime/utils/events/validator-util.js +389 -0
- package/dist/lib/components/runtime/utils/global-refs.d.ts +59 -0
- package/dist/lib/components/runtime/utils/global-refs.js +65 -0
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +221 -0
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.js +9 -0
- package/dist/lib/components/runtime/utils/page-helper-util.d.ts +87 -0
- package/dist/lib/components/runtime/utils/page-helper-util.js +503 -0
- package/dist/lib/components/runtime/utils/page-init-util.d.ts +38 -0
- package/dist/lib/components/runtime/utils/page-init-util.js +200 -0
- package/dist/lib/components/runtime/utils/store-util.d.ts +15 -0
- package/dist/lib/components/runtime/utils/store-util.js +17 -0
- package/dist/lib/components/runtime/utils/store.d.ts +2 -0
- package/dist/lib/components/runtime/utils/store.js +3 -0
- package/dist/lib/components/runtime/utils/table-utils.js +24 -0
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +54 -0
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +35 -0
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +110 -0
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +53 -0
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +49 -0
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +50 -0
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +50 -0
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +51 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +24 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +147 -0
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +35 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +127 -0
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +26 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +104 -0
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +72 -0
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +74 -0
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +79 -0
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +43 -0
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +44 -0
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +30 -0
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +69 -0
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +75 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +642 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +453 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +87 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +22 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.js +22 -0
- package/dist/lib/components/runtime/views/assemblys/error-render.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +156 -0
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +82 -0
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +63 -0
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +40 -0
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +74 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +63 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +127 -0
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +127 -0
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +77 -0
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +29 -0
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +157 -0
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +162 -0
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +201 -0
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +63 -0
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +63 -0
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +65 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +17 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.js +142 -0
- package/dist/lib/components/runtime/views/assemblys/object-render.vue2.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +3 -0
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +61 -0
- package/dist/lib/components/runtime/views/super-page.vue.d.ts +91 -0
- package/dist/lib/components/runtime/views/super-page.vue.js +481 -0
- package/dist/lib/components/runtime/views/super-page.vue2.js +3 -0
- package/dist/lib/components/super-page-dialog/index.d.ts +3 -0
- package/dist/lib/components/super-page-dialog/index.js +3 -0
- package/dist/lib/components/super-page-dialog/super-page-dialog.vue.d.ts +36 -0
- package/dist/lib/components/super-page-dialog/super-page-dialog.vue.js +74 -0
- package/dist/lib/components/super-page-dialog/super-page-dialog.vue2.js +3 -0
- package/dist/lib/components/wf-editor/index.d.ts +3 -0
- package/dist/lib/components/wf-editor/index.js +3 -0
- package/dist/lib/components/wf-editor/wf-editor.css +4 -0
- package/dist/lib/components/wf-editor/wf-editor.vue.d.ts +2 -0
- package/dist/lib/components/wf-editor/wf-editor.vue.js +15 -0
- package/dist/lib/favicon.ico +0 -0
- package/dist/lib/index.d.ts +5 -0
- package/dist/lib/index.js +8 -0
- package/package.json +68 -70
- package/dist/es/assets/chart-themes/theme1.d.ts +0 -4
- package/dist/es/assets/chart-themes/theme2.d.ts +0 -4
- package/dist/es/assets/chart-themes/theme3.d.ts +0 -4
- package/dist/es/assets/images/button/button-group.png.js +0 -4
- package/dist/es/assets/images/button/button.png.js +0 -4
- package/dist/es/components/runtime/utils/charts/chart-util.d.ts +0 -11
- package/dist/es/components/runtime/utils/page-permission-util.d.ts +0 -26
- package/dist/es/components/runtime/utils/page-permission-util.js +0 -525
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +0 -62
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue2.js +0 -4
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +0 -57
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue2.js +0 -4
- package/dist/es/components/runtime/views/wf-editor.vue.js +0 -7
- package/dist/es/components/runtime/views/wf-editor.vue2.js +0 -25
- package/dist/es/components/runtime/views/wf-editor.vue3.js +0 -1
- package/dist/es/style.css +0 -4
- /package/dist/es/components/{runtime/views/super-page-dialog.vue2.js → super-page-dialog/index.js} +0 -0
- /package/dist/es/components/{runtime/views → super-page-dialog}/super-page-dialog.vue.d.ts +0 -0
- /package/dist/es/components/{runtime/views → wf-editor}/wf-editor.vue.d.ts +0 -0
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
import { default as SuperPage } from './views/super-page.vue';
|
|
2
|
-
import { default as SuperPageDialog } from './views/super-page-dialog.vue';
|
|
3
|
-
import { default as WfEditor } from './views/wf-editor.vue';
|
|
4
2
|
|
|
5
|
-
export
|
|
3
|
+
export default SuperPage;
|
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
import { defineAsyncComponent } from "vue";
|
|
2
|
-
import button from "../../../assets/images/button/button.png.js";
|
|
3
|
-
import buttonGroup from "../../../assets/images/button/button-group.png.js";
|
|
4
|
-
const imageTest = {
|
|
5
|
-
button,
|
|
6
|
-
buttonGroup
|
|
7
|
-
};
|
|
8
2
|
const assemblyGroups = [
|
|
9
3
|
{
|
|
10
4
|
name: "container",
|
|
@@ -259,6 +253,5 @@ function getRuntimeComponentByName(name) {
|
|
|
259
253
|
}
|
|
260
254
|
export {
|
|
261
255
|
assemblyGroups,
|
|
262
|
-
getRuntimeComponentByName
|
|
263
|
-
imageTest
|
|
256
|
+
getRuntimeComponentByName
|
|
264
257
|
};
|
|
@@ -10,19 +10,6 @@ function getCustomTheme(themeName) {
|
|
|
10
10
|
console.log("getdd", themeName);
|
|
11
11
|
return themeMap[themeName];
|
|
12
12
|
}
|
|
13
|
-
function getCustomThemeOptions() {
|
|
14
|
-
return [{
|
|
15
|
-
value: "theme1",
|
|
16
|
-
label: "主题1"
|
|
17
|
-
}, {
|
|
18
|
-
value: "theme2",
|
|
19
|
-
label: "主题2"
|
|
20
|
-
}, {
|
|
21
|
-
value: "theme3",
|
|
22
|
-
label: "主题3"
|
|
23
|
-
}];
|
|
24
|
-
}
|
|
25
13
|
export {
|
|
26
|
-
getCustomTheme
|
|
27
|
-
getCustomThemeOptions
|
|
14
|
+
getCustomTheme
|
|
28
15
|
};
|
|
@@ -9,8 +9,3 @@ export declare function getRealRestApiPath(orgRestApiPath: any, system: any): an
|
|
|
9
9
|
export declare function packageTemplateFiles(templateFiles: any): any;
|
|
10
10
|
export declare function upperFirstCase(str: any): any;
|
|
11
11
|
export declare function getListCode(pageCode: any, pageVersion: any, tableUuid: any): string;
|
|
12
|
-
/**
|
|
13
|
-
* 深度复制
|
|
14
|
-
* @returns
|
|
15
|
-
*/
|
|
16
|
-
export declare function deepCopy(srcObj: any): any;
|
|
@@ -71,20 +71,7 @@ function upperFirstCase(str) {
|
|
|
71
71
|
function getListCode(pageCode, pageVersion, tableUuid) {
|
|
72
72
|
return pageCode + ":V" + pageVersion + ":" + tableUuid;
|
|
73
73
|
}
|
|
74
|
-
function deepCopy(srcObj) {
|
|
75
|
-
if (typeof srcObj !== "object" || srcObj === null) {
|
|
76
|
-
return srcObj;
|
|
77
|
-
}
|
|
78
|
-
const copyObj = Array.isArray(srcObj) ? [] : {};
|
|
79
|
-
for (const key in srcObj) {
|
|
80
|
-
if (srcObj.hasOwnProperty(key)) {
|
|
81
|
-
copyObj[key] = deepCopy(srcObj[key]);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
return copyObj;
|
|
85
|
-
}
|
|
86
74
|
export {
|
|
87
|
-
deepCopy,
|
|
88
75
|
getBaseUrl,
|
|
89
76
|
getListCode,
|
|
90
77
|
getRealRestApiPath,
|
|
@@ -54,7 +54,6 @@ export interface PageDesign extends Component {
|
|
|
54
54
|
variables?: CustomVariable[];
|
|
55
55
|
logicDesigns?: object[];
|
|
56
56
|
modelFields?: ModelField[];
|
|
57
|
-
initChartServiceConfigs?: Array<any>;
|
|
58
57
|
rules?: object;
|
|
59
58
|
tableUuids?: Array<any>;
|
|
60
59
|
tableNames?: Array<any>;
|
|
@@ -134,7 +133,6 @@ export interface PageContext extends Component {
|
|
|
134
133
|
editData?: object;
|
|
135
134
|
searchFormData?: Array<object>;
|
|
136
135
|
selectOptions?: object;
|
|
137
|
-
chartDataSourceMap?: any;
|
|
138
136
|
[otherProp: string]: any;
|
|
139
137
|
}
|
|
140
138
|
/**
|
|
@@ -14,12 +14,6 @@ export declare function getComponentOptionConfigs(component: Component, pageCont
|
|
|
14
14
|
* @returns
|
|
15
15
|
*/
|
|
16
16
|
export declare function initComponentDataSources(component: Component, pageContext: PageContext): void;
|
|
17
|
-
/**
|
|
18
|
-
* 初始化统计图的数据源
|
|
19
|
-
* @param pageContext 页面上下文
|
|
20
|
-
* @param dataSourceConfs 初始化数据配置参数
|
|
21
|
-
*/
|
|
22
|
-
export declare function updateChartDatasources(pageContext: PageContext, dataSourceConfs: Array<any>): Promise<any>;
|
|
23
17
|
/**
|
|
24
18
|
* 初始化数据源
|
|
25
19
|
* @param pageContext 页面上下文
|
|
@@ -32,12 +26,6 @@ export declare function updateOptionDatasources(pageContext: PageContext, dataSo
|
|
|
32
26
|
* @param configure
|
|
33
27
|
*/
|
|
34
28
|
export declare function getOptionDatasFromPage(pageContext: PageContext, configure: Component): any;
|
|
35
|
-
/**
|
|
36
|
-
* 从页面缓存中获取查询到的统计图数据
|
|
37
|
-
* @param pageContext
|
|
38
|
-
* @param configure
|
|
39
|
-
*/
|
|
40
|
-
export declare function getChartDatasFromPage(pageContext: PageContext, configure: Component): any;
|
|
41
29
|
/**
|
|
42
30
|
* 初始化数据源
|
|
43
31
|
* @param pageContext 页面上下文
|
|
@@ -84,13 +72,6 @@ export declare function formatVariableValue(pageContext: PageContext, variable:
|
|
|
84
72
|
* @returns
|
|
85
73
|
*/
|
|
86
74
|
export declare function formatValueByType(value: any, formatType: string, formatInfo: any): any;
|
|
87
|
-
/**
|
|
88
|
-
* 从对象中获取值
|
|
89
|
-
* @param valueSource 源对象
|
|
90
|
-
* @param paramName 变量值
|
|
91
|
-
* @param paramType 类型
|
|
92
|
-
*/
|
|
93
|
-
export declare function getValueFromSource(valueSource: any, paramName: string, paramType: any): any;
|
|
94
75
|
/**
|
|
95
76
|
* 打开链接
|
|
96
77
|
* @param component
|
|
@@ -2,40 +2,6 @@ import http from "agilebuilder-ui/src/utils/request";
|
|
|
2
2
|
import dayjs from "dayjs";
|
|
3
3
|
import { executeExpression } from "agilebuilder-ui/src/utils/calculator/calculator-util";
|
|
4
4
|
import { getComponentRef } from "./global-refs.js";
|
|
5
|
-
function getComponentOptionConfigs(component, pageContext2) {
|
|
6
|
-
if (!component.props || !component.props.dataOrigin) {
|
|
7
|
-
return;
|
|
8
|
-
}
|
|
9
|
-
const dataOriginInfo = component.props.dataOrigin;
|
|
10
|
-
const infoObj = {
|
|
11
|
-
uuid: component.uuid
|
|
12
|
-
};
|
|
13
|
-
if (dataOriginInfo.optionValueSetType == "optionGroup") {
|
|
14
|
-
infoObj.type = "optionGroup";
|
|
15
|
-
infoObj.props = {
|
|
16
|
-
code: dataOriginInfo.optionGroup
|
|
17
|
-
};
|
|
18
|
-
} else if (dataOriginInfo.optionValueSetType == "dynamicData") {
|
|
19
|
-
infoObj.type = "dynamicData";
|
|
20
|
-
infoObj.filterType = dataOriginInfo.filterType;
|
|
21
|
-
infoObj.props = {
|
|
22
|
-
code: dataOriginInfo.dynamicDataSourceCode
|
|
23
|
-
};
|
|
24
|
-
} else if (dataOriginInfo.optionValueSetType == "dataTable") {
|
|
25
|
-
infoObj.filterType = dataOriginInfo.filterType;
|
|
26
|
-
const tempObj = getTableQueryInfo(dataOriginInfo, pageContext2);
|
|
27
|
-
Object.assign(infoObj, tempObj);
|
|
28
|
-
} else if (dataOriginInfo.optionValueSetType == "service") {
|
|
29
|
-
infoObj.filterType = dataOriginInfo.filterType;
|
|
30
|
-
const tempObj = getServiceQueryInfo(dataOriginInfo, pageContext2);
|
|
31
|
-
Object.assign(infoObj, tempObj);
|
|
32
|
-
}
|
|
33
|
-
if (infoObj.type) {
|
|
34
|
-
return infoObj;
|
|
35
|
-
} else {
|
|
36
|
-
return void 0;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
5
|
function getTableQueryInfo(dataOriginInfo, pageContext2) {
|
|
40
6
|
const infoObj = {};
|
|
41
7
|
infoObj.type = "dataTable";
|
|
@@ -101,77 +67,6 @@ function getTableQueryInfo(dataOriginInfo, pageContext2) {
|
|
|
101
67
|
infoObj.props.pageSize = dataOriginInfo.displayQuantity;
|
|
102
68
|
return infoObj;
|
|
103
69
|
}
|
|
104
|
-
function getServiceQueryInfo(dataOriginInfo, pageContext2) {
|
|
105
|
-
const infoObj = {};
|
|
106
|
-
infoObj.type = "service";
|
|
107
|
-
infoObj.props = {
|
|
108
|
-
serivceCode: dataOriginInfo.serviceCode,
|
|
109
|
-
systemCode: dataOriginInfo.tableSysCode ? dataOriginInfo.tableSysCode : pageContext2.systemCode,
|
|
110
|
-
systemVersion: dataOriginInfo.tableSysCode ? dataOriginInfo.tableSysCode : pageContext2.systemCode
|
|
111
|
-
};
|
|
112
|
-
if (dataOriginInfo.serviceInputs) {
|
|
113
|
-
const searchForm = [];
|
|
114
|
-
for (const f of dataOriginInfo.serviceInputs) {
|
|
115
|
-
if (!f.name || f.value) {
|
|
116
|
-
continue;
|
|
117
|
-
}
|
|
118
|
-
const tempObj = {};
|
|
119
|
-
Object.assign(tempObj, f);
|
|
120
|
-
searchForm.push(tempObj);
|
|
121
|
-
}
|
|
122
|
-
infoObj.props.inputs = searchForm;
|
|
123
|
-
}
|
|
124
|
-
infoObj.props.dataSetField = dataOriginInfo.serviceDataSetField;
|
|
125
|
-
infoObj.props.valueField = dataOriginInfo.serviceValueField;
|
|
126
|
-
infoObj.props.labelField = dataOriginInfo.serviceLabelField;
|
|
127
|
-
return infoObj;
|
|
128
|
-
}
|
|
129
|
-
function updateChartDatasources(pageContext2, dataSourceConfs) {
|
|
130
|
-
return new Promise((resolve, reject) => {
|
|
131
|
-
if (!dataSourceConfs || dataSourceConfs.length == 0) {
|
|
132
|
-
reject(new Error("无需查询的统计图配置!"));
|
|
133
|
-
return;
|
|
134
|
-
}
|
|
135
|
-
const entityData2 = pageContext2.entity ? pageContext2.entity : {};
|
|
136
|
-
const additionalParamMap = {};
|
|
137
|
-
if (entityData2.request) {
|
|
138
|
-
Object.assign(additionalParamMap, entityData2.request);
|
|
139
|
-
}
|
|
140
|
-
if (entityData2.page) {
|
|
141
|
-
Object.assign(additionalParamMap, entityData2.page);
|
|
142
|
-
}
|
|
143
|
-
const taskMap = {};
|
|
144
|
-
if (entityData2.task) {
|
|
145
|
-
Object.assign(taskMap, entityData2.task);
|
|
146
|
-
}
|
|
147
|
-
const param = {
|
|
148
|
-
entityMap: entityData2.data,
|
|
149
|
-
additionalParamMap,
|
|
150
|
-
taskMap,
|
|
151
|
-
dataSourceList: dataSourceConfs,
|
|
152
|
-
systemCode: pageContext2.systemCode,
|
|
153
|
-
pageCode: pageContext2.code
|
|
154
|
-
};
|
|
155
|
-
const url = window["$vueApp"].config.globalProperties.baseAPI + "common/common-data/find-chart-datas";
|
|
156
|
-
http.post(url, param).then((result) => {
|
|
157
|
-
if (!pageContext2.chartDataSourceMap) {
|
|
158
|
-
pageContext2.chartDataSourceMap = {};
|
|
159
|
-
}
|
|
160
|
-
for (const uuid in result) {
|
|
161
|
-
pageContext2.chartDataSourceMap[uuid] = result[uuid];
|
|
162
|
-
const componentObj = getComponentRef(pageContext2, uuid);
|
|
163
|
-
if (componentObj && componentObj.updateChartDatas) {
|
|
164
|
-
componentObj.updateChartDatas(result[uuid]);
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
console.log("查询统计图数据完成", result);
|
|
168
|
-
resolve(result);
|
|
169
|
-
}).catch((error) => {
|
|
170
|
-
console.log("查询统计图数据失败", error);
|
|
171
|
-
reject(error);
|
|
172
|
-
});
|
|
173
|
-
});
|
|
174
|
-
}
|
|
175
70
|
function updateOptionDatasources(pageContext2, dataSourceConfs, query) {
|
|
176
71
|
return new Promise((resolve, reject) => {
|
|
177
72
|
if (!dataSourceConfs || dataSourceConfs.length == 0) {
|
|
@@ -221,13 +116,6 @@ function getOptionDatasFromPage(pageContext2, configure2) {
|
|
|
221
116
|
const cacheOptions = pageContext2.optionSourceMap[configure2.uuid];
|
|
222
117
|
return cacheOptions ? cacheOptions : [];
|
|
223
118
|
}
|
|
224
|
-
function getChartDatasFromPage(pageContext2, configure2) {
|
|
225
|
-
if (!pageContext2 || !pageContext2.chartDataSourceMap || !configure2) {
|
|
226
|
-
return null;
|
|
227
|
-
}
|
|
228
|
-
const cacheDatas = pageContext2.chartDataSourceMap[configure2.uuid];
|
|
229
|
-
return cacheDatas;
|
|
230
|
-
}
|
|
231
119
|
function queryOptionDatasources(pageContext2, dataSourceConf, query) {
|
|
232
120
|
return updateOptionDatasources(pageContext2, dataSourceConf ? [dataSourceConf] : [], query);
|
|
233
121
|
}
|
|
@@ -605,15 +493,11 @@ export {
|
|
|
605
493
|
caculateShowCondition,
|
|
606
494
|
formatValueByType,
|
|
607
495
|
formatVariableValue,
|
|
608
|
-
getChartDatasFromPage,
|
|
609
|
-
getComponentOptionConfigs,
|
|
610
496
|
getOptionDatasFromPage,
|
|
611
|
-
getValueFromSource,
|
|
612
497
|
getVariableValue,
|
|
613
498
|
openLink,
|
|
614
499
|
queryOptionDatasources,
|
|
615
500
|
queryOptions,
|
|
616
501
|
setVariableValue,
|
|
617
|
-
updateChartDatasources,
|
|
618
502
|
updateOptionDatasources
|
|
619
503
|
};
|
package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import { defineComponent, ref,
|
|
1
|
+
import { defineComponent, ref, openBlock, createElementBlock, normalizeStyle, unref, normalizeClass, createVNode } from "vue";
|
|
2
2
|
import { getCustomTheme } from "../../../../utils/charts/chart-util.js";
|
|
3
|
-
import { deepCopy } from "../../../../utils/common-util.js";
|
|
4
|
-
import { getChartDatasFromPage, getValueFromSource, formatVariableValue } from "../../../../utils/page-helper-util.js";
|
|
5
|
-
import _sfc_main$1 from "../common/common-chart-header.vue.js";
|
|
6
3
|
import { use } from "echarts/core";
|
|
7
4
|
import { CanvasRenderer } from "echarts/renderers";
|
|
8
5
|
import { LineChart, BarChart } from "echarts/charts";
|
|
@@ -14,7 +11,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
14
11
|
pageContext: {},
|
|
15
12
|
configure: {}
|
|
16
13
|
},
|
|
17
|
-
setup(__props
|
|
14
|
+
setup(__props) {
|
|
18
15
|
use([
|
|
19
16
|
CanvasRenderer,
|
|
20
17
|
LineChart,
|
|
@@ -31,199 +28,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
31
28
|
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
32
29
|
const runtimeStyle = runtimeInfo.style;
|
|
33
30
|
const runtimeClass = runtimeInfo.class;
|
|
34
|
-
const headerInfo = runtimeInfo.headerInfo ? runtimeInfo.headerInfo : {};
|
|
35
31
|
const chartOption = runtimeInfo.chartOption;
|
|
36
|
-
|
|
37
|
-
if (defaultSeries && defaultSeries.length > 0) {
|
|
38
|
-
for (let s of defaultSeries) {
|
|
39
|
-
s.data = [];
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
const defaultXaxis = chartOption.xAxis;
|
|
43
|
-
if (defaultXaxis && defaultXaxis.length > 0) {
|
|
44
|
-
defaultXaxis[0].data = [];
|
|
45
|
-
}
|
|
46
|
-
const defaultYaxis = chartOption.yAxis;
|
|
32
|
+
console.log("chartOption-runtime", chartOption);
|
|
47
33
|
const configureProps = props.configure.props ? props.configure.props : {};
|
|
48
34
|
const customTheme = getCustomTheme(configureProps.customTheme);
|
|
49
|
-
function updateChartDatas(resultData) {
|
|
50
|
-
if (!resultData) {
|
|
51
|
-
resultData = [];
|
|
52
|
-
}
|
|
53
|
-
resultData = resultData.length > 0 ? resultData[0] : {};
|
|
54
|
-
if (!resultData) {
|
|
55
|
-
resultData = {};
|
|
56
|
-
}
|
|
57
|
-
if (resultData.hasRender) {
|
|
58
|
-
resultData.hasRender = true;
|
|
59
|
-
console.log("重复更新!", resultData);
|
|
60
|
-
return;
|
|
61
|
-
}
|
|
62
|
-
resultData.hasRender = true;
|
|
63
|
-
updateChartOption(resultData);
|
|
64
|
-
}
|
|
65
|
-
onMounted(() => {
|
|
66
|
-
const resultData = getChartDatasFromPage(props.pageContext, props.configure);
|
|
67
|
-
if (resultData) {
|
|
68
|
-
updateChartDatas(resultData);
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
function updateChartOption(resultData) {
|
|
72
|
-
if (!resultData || !resultData.result) {
|
|
73
|
-
return;
|
|
74
|
-
}
|
|
75
|
-
const result = resultData && resultData.result ? resultData.result : {};
|
|
76
|
-
const groupValue = resultData && resultData.groupValue ? resultData.groupValue : [];
|
|
77
|
-
const dataSetField = props.configure.serviceDataField;
|
|
78
|
-
let datas = null;
|
|
79
|
-
if (dataSetField) {
|
|
80
|
-
datas = result[dataSetField];
|
|
81
|
-
} else {
|
|
82
|
-
if (result) {
|
|
83
|
-
if (Array.isArray(result)) {
|
|
84
|
-
datas = result;
|
|
85
|
-
} else {
|
|
86
|
-
datas = [result];
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
if (!datas) {
|
|
91
|
-
datas = [];
|
|
92
|
-
}
|
|
93
|
-
let confGroups = props.configure.props ? props.configure.props.groups : null;
|
|
94
|
-
if (!confGroups) {
|
|
95
|
-
confGroups = [];
|
|
96
|
-
}
|
|
97
|
-
const groupMap = {};
|
|
98
|
-
for (let g of confGroups) {
|
|
99
|
-
groupMap[g.group] = g.target;
|
|
100
|
-
}
|
|
101
|
-
let mulGroupShow = props.configure.props ? props.configure.props.mulGroupShow : "";
|
|
102
|
-
mulGroupShow = mulGroupShow == "break" ? "<br/>" : " ";
|
|
103
|
-
const xFieldName = "__x";
|
|
104
|
-
for (let d of datas) {
|
|
105
|
-
const xValues2 = [];
|
|
106
|
-
for (let g of groupValue) {
|
|
107
|
-
const fieldName = groupMap[g];
|
|
108
|
-
const value = getValueFromSource(d, fieldName, void 0);
|
|
109
|
-
if (value) {
|
|
110
|
-
xValues2.push(value);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
const xValue = xValues2.join(mulGroupShow);
|
|
114
|
-
d[xFieldName] = xValue;
|
|
115
|
-
}
|
|
116
|
-
sortDatas(datas);
|
|
117
|
-
const itemConfs = props.configure.items ? props.configure.items : [];
|
|
118
|
-
const serieValues = [];
|
|
119
|
-
const serieValueMap = {};
|
|
120
|
-
for (let item of itemConfs) {
|
|
121
|
-
const itemProps = item.props ? item.props : {};
|
|
122
|
-
const sourceType = itemProps.yaxisSource;
|
|
123
|
-
const yaxisField = itemProps.yaxisField;
|
|
124
|
-
let serieValue = null;
|
|
125
|
-
if (yaxisField && (!sourceType || sourceType == "variable")) {
|
|
126
|
-
serieValue = {
|
|
127
|
-
uuid: item.uuid,
|
|
128
|
-
type: "variable",
|
|
129
|
-
field: yaxisField,
|
|
130
|
-
data: []
|
|
131
|
-
};
|
|
132
|
-
} else {
|
|
133
|
-
serieValue = {
|
|
134
|
-
uuid: item.uuid,
|
|
135
|
-
type: "fixed",
|
|
136
|
-
field: itemProps.yaxisFix,
|
|
137
|
-
data: []
|
|
138
|
-
};
|
|
139
|
-
}
|
|
140
|
-
if (serieValue != null) {
|
|
141
|
-
serieValues.push(serieValue);
|
|
142
|
-
serieValueMap[item.uuid] = serieValue;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
const xValues = [];
|
|
146
|
-
for (let data of datas) {
|
|
147
|
-
xValues.push(data[xFieldName]);
|
|
148
|
-
for (let item of serieValues) {
|
|
149
|
-
const serieData = item.data;
|
|
150
|
-
if (item.type == "fixed") {
|
|
151
|
-
serieData.push(item.field);
|
|
152
|
-
} else if (item.type == "variable") {
|
|
153
|
-
const value = getValueFromSource(data, item.field, void 0);
|
|
154
|
-
serieData.push(value);
|
|
155
|
-
} else {
|
|
156
|
-
serieData.push(void 0);
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
console.log("datas", datas, serieValues);
|
|
161
|
-
const newSeries = deepCopy(defaultSeries == null ? [] : defaultSeries);
|
|
162
|
-
for (let serie of newSeries) {
|
|
163
|
-
const serieValue = serieValueMap[serie.uuid];
|
|
164
|
-
serie.data = serieValue ? serieValue.data : [];
|
|
165
|
-
}
|
|
166
|
-
chartOption.series = newSeries;
|
|
167
|
-
console.log("newSeries", newSeries, xValues);
|
|
168
|
-
if (defaultXaxis && defaultXaxis.length > 0) {
|
|
169
|
-
defaultXaxis[0].data = xValues;
|
|
170
|
-
chartOption.xAxis = defaultXaxis;
|
|
171
|
-
}
|
|
172
|
-
chartOption.yAxis = defaultYaxis;
|
|
173
|
-
}
|
|
174
|
-
function sortDatas(datas) {
|
|
175
|
-
const itemConfs = props.configure.items ? props.configure.items : [];
|
|
176
|
-
let orderByTarget = props.configure.props ? props.configure.props.orderByTarget : "";
|
|
177
|
-
let orderField = null;
|
|
178
|
-
if (orderByTarget == "x" || orderByTarget == "X") {
|
|
179
|
-
orderField = "__x";
|
|
180
|
-
} else if (orderByTarget) {
|
|
181
|
-
for (let item of itemConfs) {
|
|
182
|
-
if (item.uuid == orderByTarget) {
|
|
183
|
-
const itemProps = item.props ? item.props : {};
|
|
184
|
-
const sourceType = itemProps.yaxisSource;
|
|
185
|
-
const yaxisField = itemProps.yaxisField;
|
|
186
|
-
if (yaxisField && (!sourceType || sourceType == "variable")) {
|
|
187
|
-
orderField = yaxisField;
|
|
188
|
-
break;
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
if (!orderField) {
|
|
194
|
-
return;
|
|
195
|
-
}
|
|
196
|
-
let orderSource = props.configure.props ? props.configure.props.orderSource : "";
|
|
197
|
-
let orderValue = props.configure.props ? props.configure.props.orderFix : "";
|
|
198
|
-
if (orderSource == "variable") {
|
|
199
|
-
let orderVariable = props.configure.props ? props.configure.props.orderVariable : "";
|
|
200
|
-
orderValue = formatVariableValue(props.pageContext, orderVariable);
|
|
201
|
-
}
|
|
202
|
-
orderValue = orderValue == "desc" || orderValue == "DESC" ? "desc" : "asc";
|
|
203
|
-
let maxLen = datas.length;
|
|
204
|
-
for (let i = 0; i < maxLen - 1; i++) {
|
|
205
|
-
let vali = getValueFromSource(datas[i], orderField, void 0);
|
|
206
|
-
for (let j = i + 1; j < maxLen; j++) {
|
|
207
|
-
let valj = getValueFromSource(datas[j], orderField, void 0);
|
|
208
|
-
let isSwap = false;
|
|
209
|
-
if ("desc" == orderValue) {
|
|
210
|
-
if (vali < valj) {
|
|
211
|
-
isSwap = true;
|
|
212
|
-
}
|
|
213
|
-
} else {
|
|
214
|
-
if (vali > valj) {
|
|
215
|
-
isSwap = true;
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
if (isSwap) {
|
|
219
|
-
[datas[i], datas[j]] = [datas[j], datas[i]];
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
__expose({
|
|
225
|
-
updateChartDatas
|
|
226
|
-
});
|
|
227
35
|
return (_ctx, _cache) => {
|
|
228
36
|
return openBlock(), createElementBlock("div", {
|
|
229
37
|
style: normalizeStyle(unref(runtimeStyle)),
|
|
@@ -231,9 +39,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
231
39
|
ref_key: "thisRef",
|
|
232
40
|
ref: thisRef
|
|
233
41
|
}, [
|
|
234
|
-
withDirectives(createVNode(_sfc_main$1, { headerInfo: unref(headerInfo) }, null, 8, ["headerInfo"]), [
|
|
235
|
-
[vShow, unref(headerInfo).showHeader]
|
|
236
|
-
]),
|
|
237
42
|
createVNode(unref(VChart), {
|
|
238
43
|
ref: "chartRef",
|
|
239
44
|
theme: unref(customTheme),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, onUpdated, nextTick, onUnmounted, openBlock, createElementBlock, normalizeClass, normalizeStyle, Fragment, renderList, createBlock, unref, createCommentVNode, createElementVNode, reactive } from "vue";
|
|
2
2
|
import _sfc_main$1 from "./assemblys/object-render.vue.js";
|
|
3
|
-
import { updateOptionDatasources
|
|
3
|
+
import { updateOptionDatasources } from "../utils/page-helper-util.js";
|
|
4
4
|
import { queryPageSuperGrids, queryPageDesignByCode, convertToPageContext } from "../utils/page-init-util.js";
|
|
5
5
|
import { removePageAllRef, initComponentRefState, addComponentRef } from "../utils/global-refs.js";
|
|
6
6
|
import { removeCustomFuncFromWindow, initPageEvents, handleEvent } from "../utils/events/event-util.js";
|
|
@@ -14,7 +14,7 @@ import { ElMessage } from "element-plus";
|
|
|
14
14
|
import { useI18n } from "vue-i18n";
|
|
15
15
|
import { DepartmentUserTree } from "agilebuilder-ui";
|
|
16
16
|
import { i18nValidateRulesMessage } from "../utils/events/validator-util.js";
|
|
17
|
-
import _sfc_main$5 from "
|
|
17
|
+
import _sfc_main$5 from "../../super-page-dialog/super-page-dialog.vue.js";
|
|
18
18
|
import { useRouter } from "vue-router";
|
|
19
19
|
import "agilebuilder-ui/src/utils/jump-page-utils";
|
|
20
20
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -106,10 +106,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
106
106
|
setTimeout(() => {
|
|
107
107
|
initOptionDatas(pageContext, pageDesign.initOptionConfigs);
|
|
108
108
|
}, 0);
|
|
109
|
-
setTimeout(() => {
|
|
110
|
-
console.log("pageDesign.initChartServiceConfigs", pageDesign.initChartServiceConfigs);
|
|
111
|
-
initChartDatas(pageContext, pageDesign.initChartServiceConfigs);
|
|
112
|
-
}, 0);
|
|
113
109
|
pageContext.initDataSources = [];
|
|
114
110
|
initComponentRefState(pageContext);
|
|
115
111
|
pageItems.value = pageContext.items ? pageContext.items : [];
|
|
@@ -202,16 +198,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
202
198
|
updateOptionDatasources(pageContext2, initOptionConfigs, void 0);
|
|
203
199
|
}
|
|
204
200
|
}
|
|
205
|
-
function initChartDatas(pageContext2, chartConfigs) {
|
|
206
|
-
if (!chartConfigs || chartConfigs.length == 0) {
|
|
207
|
-
console.log("无需要初始化的选项组数据");
|
|
208
|
-
return;
|
|
209
|
-
}
|
|
210
|
-
console.log("pageContext.chartConfigs:", chartConfigs);
|
|
211
|
-
if (chartConfigs && chartConfigs.length > 0) {
|
|
212
|
-
updateChartDatasources(pageContext2, chartConfigs);
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
201
|
onMounted(() => {
|
|
216
202
|
if (props.pageDesign != null) {
|
|
217
203
|
pageDesignResult.value = props.pageDesign;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createCommentVNode } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
|
-
import _sfc_main$1 from "
|
|
3
|
+
import _sfc_main$1 from "../runtime/views/super-page.vue.js";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "super-page-dialog",
|
|
6
6
|
props: {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { openBlock, createElementBlock, pushScopeId, popScopeId, createElementVNode } from "vue";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
const _sfc_main = {};
|
|
5
|
+
const _withScopeId = (n) => (pushScopeId("data-v-dfafa4ba"), n = n(), popScopeId(), n);
|
|
6
|
+
const _hoisted_1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("button", null, "Editoraaaaa", -1));
|
|
7
|
+
const _hoisted_2 = [
|
|
8
|
+
_hoisted_1
|
|
9
|
+
];
|
|
10
|
+
function _sfc_render(_ctx, _cache) {
|
|
11
|
+
return openBlock(), createElementBlock("div", null, _hoisted_2);
|
|
12
|
+
}
|
|
13
|
+
const WfEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-dfafa4ba"]]);
|
|
14
|
+
export {
|
|
15
|
+
WfEditor as default
|
|
16
|
+
};
|
package/dist/es/index.d.ts
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { getCustomTheme, getCustomThemeOptions } from './components/runtime/utils/charts/chart-util';
|
|
1
|
+
import { default as SuperPage } from './components/runtime';
|
|
2
|
+
import { default as SuperPageDialog } from './components/super-page-dialog';
|
|
3
|
+
import { default as WfEditor } from './components/wf-editor';
|
|
5
4
|
|
|
6
|
-
export { SuperPage, SuperPageDialog, WfEditor
|
|
7
|
-
export { getStandPermissionInfo, getFunctionInfo, FuncType };
|
|
8
|
-
export { getCustomTheme, getCustomThemeOptions };
|
|
5
|
+
export { SuperPage, SuperPageDialog, WfEditor };
|
package/dist/es/index.js
CHANGED
|
@@ -1,17 +1,8 @@
|
|
|
1
1
|
import { default as default2 } from "./components/runtime/views/super-page.vue.js";
|
|
2
|
-
import { default as default3 } from "./components/
|
|
3
|
-
import { default as default4 } from "./components/
|
|
4
|
-
import { getComponentOptionConfigs } from "./components/runtime/utils/page-helper-util.js";
|
|
5
|
-
import { FuncType, getFunctionInfo, getStandPermissionInfo } from "./components/runtime/utils/page-permission-util.js";
|
|
6
|
-
import { getCustomTheme, getCustomThemeOptions } from "./components/runtime/utils/charts/chart-util.js";
|
|
2
|
+
import { default as default3 } from "./components/super-page-dialog/super-page-dialog.vue.js";
|
|
3
|
+
import { default as default4 } from "./components/wf-editor/wf-editor.vue.js";
|
|
7
4
|
export {
|
|
8
|
-
FuncType,
|
|
9
5
|
default2 as SuperPage,
|
|
10
6
|
default3 as SuperPageDialog,
|
|
11
|
-
default4 as WfEditor
|
|
12
|
-
getComponentOptionConfigs,
|
|
13
|
-
getCustomTheme,
|
|
14
|
-
getCustomThemeOptions,
|
|
15
|
-
getFunctionInfo,
|
|
16
|
-
getStandPermissionInfo
|
|
7
|
+
default4 as WfEditor
|
|
17
8
|
};
|
package/dist/favicon.ico
ADDED
|
Binary file
|