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
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
const chartUtil = require("../../../../utils/charts/chart-util.js");
|
|
4
|
+
const core = require("echarts/core");
|
|
5
|
+
const renderers = require("echarts/renderers");
|
|
6
|
+
const charts = require("echarts/charts");
|
|
7
|
+
const components = require("echarts/components");
|
|
8
|
+
const VChart = require("vue-echarts");
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
10
|
+
__name: "radar-runtime",
|
|
11
|
+
props: {
|
|
12
|
+
pageContext: {},
|
|
13
|
+
configure: {}
|
|
14
|
+
},
|
|
15
|
+
setup(__props) {
|
|
16
|
+
core.use([
|
|
17
|
+
renderers.CanvasRenderer,
|
|
18
|
+
charts.RadarChart,
|
|
19
|
+
components.GridComponent,
|
|
20
|
+
components.TitleComponent,
|
|
21
|
+
components.TooltipComponent,
|
|
22
|
+
components.ToolboxComponent,
|
|
23
|
+
components.LegendComponent
|
|
24
|
+
]);
|
|
25
|
+
const props = __props;
|
|
26
|
+
const thisRef = vue.ref(null);
|
|
27
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
28
|
+
const runtimeStyle = runtimeInfo.style;
|
|
29
|
+
const runtimeClass = runtimeInfo.class;
|
|
30
|
+
const chartOption = runtimeInfo.chartOption;
|
|
31
|
+
const configureProps = props.configure.props ? props.configure.props : {};
|
|
32
|
+
const customTheme = chartUtil.getCustomTheme(configureProps.customTheme);
|
|
33
|
+
return (_ctx, _cache) => {
|
|
34
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
35
|
+
style: vue.normalizeStyle(vue.unref(runtimeStyle)),
|
|
36
|
+
class: vue.normalizeClass([vue.unref(runtimeClass), "amb-widget-chart"]),
|
|
37
|
+
ref_key: "thisRef",
|
|
38
|
+
ref: thisRef
|
|
39
|
+
}, [
|
|
40
|
+
vue.createVNode(vue.unref(VChart), {
|
|
41
|
+
ref: "chartRef",
|
|
42
|
+
theme: vue.unref(customTheme),
|
|
43
|
+
option: vue.unref(chartOption),
|
|
44
|
+
autoresize: ""
|
|
45
|
+
}, null, 8, ["theme", "option"])
|
|
46
|
+
], 6);
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
const chartUtil = require("../../../../utils/charts/chart-util.js");
|
|
4
|
+
const core = require("echarts/core");
|
|
5
|
+
const renderers = require("echarts/renderers");
|
|
6
|
+
const charts = require("echarts/charts");
|
|
7
|
+
const components = require("echarts/components");
|
|
8
|
+
const VChart = require("vue-echarts");
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
10
|
+
__name: "scatter-runtime",
|
|
11
|
+
props: {
|
|
12
|
+
pageContext: {},
|
|
13
|
+
configure: {}
|
|
14
|
+
},
|
|
15
|
+
setup(__props) {
|
|
16
|
+
core.use([
|
|
17
|
+
renderers.CanvasRenderer,
|
|
18
|
+
charts.ScatterChart,
|
|
19
|
+
components.GridComponent,
|
|
20
|
+
components.LegendComponent,
|
|
21
|
+
components.TitleComponent,
|
|
22
|
+
components.TooltipComponent,
|
|
23
|
+
components.ToolboxComponent,
|
|
24
|
+
components.DataZoomComponent
|
|
25
|
+
]);
|
|
26
|
+
const props = __props;
|
|
27
|
+
const thisRef = vue.ref(null);
|
|
28
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
29
|
+
const runtimeStyle = runtimeInfo.style;
|
|
30
|
+
const runtimeClass = runtimeInfo.class;
|
|
31
|
+
const chartOption = runtimeInfo.chartOption;
|
|
32
|
+
const configureProps = props.configure.props ? props.configure.props : {};
|
|
33
|
+
const customTheme = chartUtil.getCustomTheme(configureProps.customTheme);
|
|
34
|
+
return (_ctx, _cache) => {
|
|
35
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
36
|
+
style: vue.normalizeStyle(vue.unref(runtimeStyle)),
|
|
37
|
+
class: vue.normalizeClass([vue.unref(runtimeClass), "amb-widget-chart"]),
|
|
38
|
+
ref_key: "thisRef",
|
|
39
|
+
ref: thisRef
|
|
40
|
+
}, [
|
|
41
|
+
vue.createVNode(vue.unref(VChart), {
|
|
42
|
+
ref: "chartRef",
|
|
43
|
+
theme: vue.unref(customTheme),
|
|
44
|
+
option: vue.unref(chartOption),
|
|
45
|
+
autoresize: ""
|
|
46
|
+
}, null, 8, ["theme", "option"])
|
|
47
|
+
], 6);
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
configure: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
pageContext: {
|
|
7
|
+
type: ObjectConstructor;
|
|
8
|
+
};
|
|
9
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
close: (...args: any[]) => void;
|
|
11
|
+
export: (...args: any[]) => void;
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
|
+
configure: {
|
|
14
|
+
type: ObjectConstructor;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
pageContext: {
|
|
18
|
+
type: ObjectConstructor;
|
|
19
|
+
};
|
|
20
|
+
}>> & {
|
|
21
|
+
onClose?: (...args: any[]) => any;
|
|
22
|
+
onExport?: (...args: any[]) => any;
|
|
23
|
+
}, {}, {}>;
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
const commonUtil = require("../../../utils/common-util.js");
|
|
4
|
+
const prefix = "${";
|
|
5
|
+
const suffix = "}";
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
7
|
+
__name: "export-form-report-dialog",
|
|
8
|
+
props: {
|
|
9
|
+
configure: {
|
|
10
|
+
type: Object,
|
|
11
|
+
required: true
|
|
12
|
+
},
|
|
13
|
+
pageContext: {
|
|
14
|
+
type: Object
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
emits: ["export", "close"],
|
|
18
|
+
setup(__props, { emit: __emit }) {
|
|
19
|
+
const props = __props;
|
|
20
|
+
const emits = __emit;
|
|
21
|
+
const templateFiles = vue.ref([]);
|
|
22
|
+
const fields = vue.ref([]);
|
|
23
|
+
const configureBase = props.configure.props.base;
|
|
24
|
+
const dataModel = props.pageContext.entity.data;
|
|
25
|
+
vue.onMounted(() => {
|
|
26
|
+
if (configureBase.templateFiles && configureBase.templateFiles.length > 0) {
|
|
27
|
+
templateFiles.value = commonUtil.packageTemplateFiles(configureBase.templateFiles);
|
|
28
|
+
} else if (configureBase.templateUUID && configureBase.templateShowPath) {
|
|
29
|
+
templateFiles.value.push({
|
|
30
|
+
templateUUID: configureBase.templateUUID,
|
|
31
|
+
templateShowPath: configureBase.templateShowPath
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
templateFiles.value.forEach((item) => {
|
|
35
|
+
if (item && item.templateShowPath) {
|
|
36
|
+
item.templateShowPath = formatTemplateShowPath(item.templateShowPath);
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
function getFileds(templateShowPath) {
|
|
41
|
+
console.log("templateShowPath", templateShowPath);
|
|
42
|
+
let field;
|
|
43
|
+
let formatStr;
|
|
44
|
+
let newValue = templateShowPath;
|
|
45
|
+
const prefixIndex = newValue.indexOf(prefix);
|
|
46
|
+
const suffixIndex = newValue.indexOf(suffix);
|
|
47
|
+
console.log("prefixIndex", prefixIndex);
|
|
48
|
+
console.log("suffixIndex", suffixIndex);
|
|
49
|
+
if (prefixIndex !== -1 && suffixIndex !== -1) {
|
|
50
|
+
if (prefixIndex > suffixIndex) {
|
|
51
|
+
newValue = newValue.substring(0, suffixIndex) + newValue.substring(suffixIndex + suffix.length);
|
|
52
|
+
console.log("non replacement value === newValue", newValue);
|
|
53
|
+
} else {
|
|
54
|
+
field = newValue.substring(
|
|
55
|
+
prefixIndex + prefix.length,
|
|
56
|
+
suffixIndex
|
|
57
|
+
);
|
|
58
|
+
formatStr = newValue.substring(
|
|
59
|
+
prefixIndex,
|
|
60
|
+
suffixIndex + suffix.length
|
|
61
|
+
);
|
|
62
|
+
console.log("field", field);
|
|
63
|
+
console.log("formatStr", formatStr);
|
|
64
|
+
fields.value.push(field);
|
|
65
|
+
console.log("fields", fields.value);
|
|
66
|
+
newValue = newValue.replace(formatStr, "");
|
|
67
|
+
console.log("newValue", newValue);
|
|
68
|
+
}
|
|
69
|
+
return getFileds(newValue);
|
|
70
|
+
}
|
|
71
|
+
return fields.value;
|
|
72
|
+
}
|
|
73
|
+
function formatTemplateShowPath(templateShowPath) {
|
|
74
|
+
const fields2 = getFileds(templateShowPath);
|
|
75
|
+
console.log("fields", fields2);
|
|
76
|
+
fields2.forEach((field) => {
|
|
77
|
+
const formatStr = prefix + field + suffix;
|
|
78
|
+
let formatValue;
|
|
79
|
+
if (templateShowPath.indexOf(formatStr) !== -1 && dataModel.hasOwnProperty(field)) {
|
|
80
|
+
formatValue = dataModel[field] ? dataModel[field] : "";
|
|
81
|
+
templateShowPath = templateShowPath.replace(formatStr, formatValue);
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
return templateShowPath;
|
|
85
|
+
}
|
|
86
|
+
function exportForm(row) {
|
|
87
|
+
emits("export", row);
|
|
88
|
+
}
|
|
89
|
+
function closeExportForm() {
|
|
90
|
+
emits("close");
|
|
91
|
+
}
|
|
92
|
+
return (_ctx, _cache) => {
|
|
93
|
+
const _component_el_table_column = vue.resolveComponent("el-table-column");
|
|
94
|
+
const _component_el_button = vue.resolveComponent("el-button");
|
|
95
|
+
const _component_el_table = vue.resolveComponent("el-table");
|
|
96
|
+
const _component_el_dialog = vue.resolveComponent("el-dialog");
|
|
97
|
+
return vue.openBlock(), vue.createBlock(_component_el_dialog, {
|
|
98
|
+
"show-close": true,
|
|
99
|
+
"append-to-body": true,
|
|
100
|
+
title: _ctx.$t("superPageRuntimeMessage.selectTemplate"),
|
|
101
|
+
"model-value": "",
|
|
102
|
+
onClose: closeExportForm
|
|
103
|
+
}, {
|
|
104
|
+
default: vue.withCtx(() => [
|
|
105
|
+
vue.createVNode(_component_el_table, {
|
|
106
|
+
data: templateFiles.value,
|
|
107
|
+
style: { "width": "100%" }
|
|
108
|
+
}, {
|
|
109
|
+
default: vue.withCtx(() => [
|
|
110
|
+
vue.createVNode(_component_el_table_column, {
|
|
111
|
+
label: _ctx.$t("superPageRuntimeMessage.temlpate"),
|
|
112
|
+
prop: "templateShowPath"
|
|
113
|
+
}, {
|
|
114
|
+
default: vue.withCtx((scope) => [
|
|
115
|
+
vue.createTextVNode(vue.toDisplayString(scope.row.templateShowPath), 1)
|
|
116
|
+
]),
|
|
117
|
+
_: 1
|
|
118
|
+
}, 8, ["label"]),
|
|
119
|
+
vue.createVNode(_component_el_table_column, {
|
|
120
|
+
label: _ctx.$t("superPageRuntimeMessage.operating"),
|
|
121
|
+
width: "200",
|
|
122
|
+
fixed: "right"
|
|
123
|
+
}, {
|
|
124
|
+
default: vue.withCtx((scope) => [
|
|
125
|
+
vue.createVNode(_component_el_button, {
|
|
126
|
+
type: "text",
|
|
127
|
+
size: "small",
|
|
128
|
+
onClick: ($event) => exportForm(scope.row)
|
|
129
|
+
}, {
|
|
130
|
+
default: vue.withCtx(() => [
|
|
131
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.$t("superPageRuntimeMessage.export")), 1)
|
|
132
|
+
]),
|
|
133
|
+
_: 2
|
|
134
|
+
}, 1032, ["onClick"])
|
|
135
|
+
]),
|
|
136
|
+
_: 1
|
|
137
|
+
}, 8, ["label"])
|
|
138
|
+
]),
|
|
139
|
+
_: 1
|
|
140
|
+
}, 8, ["data"])
|
|
141
|
+
]),
|
|
142
|
+
_: 1
|
|
143
|
+
}, 8, ["title"]);
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
taskId: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: any;
|
|
5
|
+
};
|
|
6
|
+
activeTasks: {
|
|
7
|
+
type: ArrayConstructor;
|
|
8
|
+
default: any;
|
|
9
|
+
};
|
|
10
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
close: (...args: any[]) => void;
|
|
12
|
+
result: (...args: any[]) => void;
|
|
13
|
+
open: (...args: any[]) => void;
|
|
14
|
+
opend: (...args: any[]) => void;
|
|
15
|
+
closed: (...args: any[]) => void;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
17
|
+
taskId: {
|
|
18
|
+
type: NumberConstructor;
|
|
19
|
+
default: any;
|
|
20
|
+
};
|
|
21
|
+
activeTasks: {
|
|
22
|
+
type: ArrayConstructor;
|
|
23
|
+
default: any;
|
|
24
|
+
};
|
|
25
|
+
}>> & {
|
|
26
|
+
onClose?: (...args: any[]) => any;
|
|
27
|
+
onResult?: (...args: any[]) => any;
|
|
28
|
+
onOpen?: (...args: any[]) => any;
|
|
29
|
+
onOpend?: (...args: any[]) => any;
|
|
30
|
+
onClosed?: (...args: any[]) => any;
|
|
31
|
+
}, {
|
|
32
|
+
taskId: number;
|
|
33
|
+
activeTasks: unknown[];
|
|
34
|
+
}, {}>;
|
|
35
|
+
export default _default;
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
const elementPlus = require("element-plus");
|
|
4
|
+
const vueI18n = require("vue-i18n");
|
|
5
|
+
const _hoisted_1 = { class: "dialog-footer" };
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
7
|
+
__name: "remove-signer-dialog",
|
|
8
|
+
props: {
|
|
9
|
+
taskId: {
|
|
10
|
+
type: Number,
|
|
11
|
+
default: null
|
|
12
|
+
},
|
|
13
|
+
// 当前环节所有待办任务集合
|
|
14
|
+
activeTasks: {
|
|
15
|
+
type: Array,
|
|
16
|
+
default: null
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
emits: ["open", "opend", "close", "closed", "result"],
|
|
20
|
+
setup(__props, { emit: __emit }) {
|
|
21
|
+
vueI18n.useI18n();
|
|
22
|
+
const props = __props;
|
|
23
|
+
const emits = __emit;
|
|
24
|
+
const selections = vue.ref([]);
|
|
25
|
+
const canRemoveTasks = vue.ref([]);
|
|
26
|
+
vue.onMounted(() => {
|
|
27
|
+
canRemoveTasks.value = getCanRemoveTasks();
|
|
28
|
+
});
|
|
29
|
+
function select(selection) {
|
|
30
|
+
selections.value = selection;
|
|
31
|
+
}
|
|
32
|
+
function selectRemoveUsers() {
|
|
33
|
+
if (selections.value.length === 0) {
|
|
34
|
+
elementPlus.ElMessage({
|
|
35
|
+
showClose: true,
|
|
36
|
+
type: "warning",
|
|
37
|
+
message: this.$t("superPageRuntimeMessage.pleaseSelectRemoverUsers")
|
|
38
|
+
});
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
emits("result", selections.value);
|
|
42
|
+
}
|
|
43
|
+
function getCanRemoveTasks() {
|
|
44
|
+
if (props.activeTasks && props.taskId) {
|
|
45
|
+
return props.activeTasks.filter(
|
|
46
|
+
(task) => props.taskId !== task["id"] ? task["id"] : task["ID"] ? task["ID"] : null
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
return [];
|
|
50
|
+
}
|
|
51
|
+
return (_ctx, _cache) => {
|
|
52
|
+
const _component_el_table_column = vue.resolveComponent("el-table-column");
|
|
53
|
+
const _component_el_table = vue.resolveComponent("el-table");
|
|
54
|
+
const _component_el_button = vue.resolveComponent("el-button");
|
|
55
|
+
const _component_el_dialog = vue.resolveComponent("el-dialog");
|
|
56
|
+
return vue.openBlock(), vue.createElementBlock("div", null, [
|
|
57
|
+
vue.createVNode(_component_el_dialog, {
|
|
58
|
+
"model-value": "",
|
|
59
|
+
title: _ctx.$t("superPageRuntimeMessage.selectRemoveUsers"),
|
|
60
|
+
"close-on-click-modal": false,
|
|
61
|
+
"append-to-body": "",
|
|
62
|
+
width: "30%",
|
|
63
|
+
"max-height": "400",
|
|
64
|
+
onOpen: _cache[1] || (_cache[1] = ($event) => emits("open")),
|
|
65
|
+
onOpend: _cache[2] || (_cache[2] = ($event) => emits("opend")),
|
|
66
|
+
onClose: _cache[3] || (_cache[3] = ($event) => emits("close")),
|
|
67
|
+
onClosed: _cache[4] || (_cache[4] = ($event) => emits("closed"))
|
|
68
|
+
}, {
|
|
69
|
+
footer: vue.withCtx(() => [
|
|
70
|
+
vue.createElementVNode("div", _hoisted_1, [
|
|
71
|
+
vue.createVNode(_component_el_button, {
|
|
72
|
+
type: "primary",
|
|
73
|
+
onClick: selectRemoveUsers
|
|
74
|
+
}, {
|
|
75
|
+
default: vue.withCtx(() => [
|
|
76
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.$t("superPageRuntimeMessage.sure")), 1)
|
|
77
|
+
]),
|
|
78
|
+
_: 1
|
|
79
|
+
}),
|
|
80
|
+
vue.createVNode(_component_el_button, {
|
|
81
|
+
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
|
|
82
|
+
}, {
|
|
83
|
+
default: vue.withCtx(() => [
|
|
84
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.$t("superPageRuntimeMessage.cancel")), 1)
|
|
85
|
+
]),
|
|
86
|
+
_: 1
|
|
87
|
+
})
|
|
88
|
+
])
|
|
89
|
+
]),
|
|
90
|
+
default: vue.withCtx(() => [
|
|
91
|
+
vue.createVNode(_component_el_table, {
|
|
92
|
+
data: canRemoveTasks.value,
|
|
93
|
+
border: "",
|
|
94
|
+
style: { "width": "100%" },
|
|
95
|
+
onSelect: select
|
|
96
|
+
}, {
|
|
97
|
+
default: vue.withCtx(() => [
|
|
98
|
+
vue.createVNode(_component_el_table_column, {
|
|
99
|
+
type: "selection",
|
|
100
|
+
width: "55"
|
|
101
|
+
}),
|
|
102
|
+
vue.createVNode(_component_el_table_column, {
|
|
103
|
+
prop: "transactorName",
|
|
104
|
+
label: _ctx.$t("superPageRuntimeMessage.transactorName"),
|
|
105
|
+
width: "180"
|
|
106
|
+
}, null, 8, ["label"]),
|
|
107
|
+
vue.createVNode(_component_el_table_column, {
|
|
108
|
+
prop: "transactor",
|
|
109
|
+
label: _ctx.$t("superPageRuntimeMessage.transactor"),
|
|
110
|
+
width: "180"
|
|
111
|
+
}, null, 8, ["label"]),
|
|
112
|
+
vue.createVNode(_component_el_table_column, {
|
|
113
|
+
prop: "trustorName",
|
|
114
|
+
label: _ctx.$t("superPageRuntimeMessage.trustorName"),
|
|
115
|
+
width: "180"
|
|
116
|
+
}, null, 8, ["label"])
|
|
117
|
+
]),
|
|
118
|
+
_: 1
|
|
119
|
+
}, 8, ["data"])
|
|
120
|
+
]),
|
|
121
|
+
_: 1
|
|
122
|
+
}, 8, ["title"])
|
|
123
|
+
]);
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
|
+
taskInformitions: {
|
|
3
|
+
type: ArrayConstructor;
|
|
4
|
+
default: any;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
close: (...args: any[]) => void;
|
|
8
|
+
result: (...args: any[]) => void;
|
|
9
|
+
open: (...args: any[]) => void;
|
|
10
|
+
opend: (...args: any[]) => void;
|
|
11
|
+
closed: (...args: any[]) => void;
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
|
+
taskInformitions: {
|
|
14
|
+
type: ArrayConstructor;
|
|
15
|
+
default: any;
|
|
16
|
+
};
|
|
17
|
+
}>> & {
|
|
18
|
+
onClose?: (...args: any[]) => any;
|
|
19
|
+
onResult?: (...args: any[]) => any;
|
|
20
|
+
onOpen?: (...args: any[]) => any;
|
|
21
|
+
onOpend?: (...args: any[]) => any;
|
|
22
|
+
onClosed?: (...args: any[]) => any;
|
|
23
|
+
}, {
|
|
24
|
+
taskInformitions: unknown[];
|
|
25
|
+
}, {}>;
|
|
26
|
+
export default _default;
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
const elementPlus = require("element-plus");
|
|
4
|
+
const vueI18n = require("vue-i18n");
|
|
5
|
+
const _hoisted_1 = { class: "dialog-footer" };
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
7
|
+
__name: "task-informition-dialog",
|
|
8
|
+
props: {
|
|
9
|
+
taskInformitions: {
|
|
10
|
+
type: Array,
|
|
11
|
+
default: null
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
emits: ["open", "opend", "close", "closed", "result"],
|
|
15
|
+
setup(__props, { emit: __emit }) {
|
|
16
|
+
const { t } = vueI18n.useI18n();
|
|
17
|
+
const emits = __emit;
|
|
18
|
+
const selections = vue.ref([]);
|
|
19
|
+
function selectNode() {
|
|
20
|
+
if (selections.value.length === 0 || selections.value.length > 1) {
|
|
21
|
+
elementPlus.ElMessage({
|
|
22
|
+
showClose: true,
|
|
23
|
+
type: "warning",
|
|
24
|
+
message: t("superPageRuntimeMessage.pleaseSelectNode")
|
|
25
|
+
});
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
emits("result", this.selections[0]);
|
|
29
|
+
}
|
|
30
|
+
function select(selection) {
|
|
31
|
+
selections.value = selection;
|
|
32
|
+
}
|
|
33
|
+
return (_ctx, _cache) => {
|
|
34
|
+
const _component_el_table_column = vue.resolveComponent("el-table-column");
|
|
35
|
+
const _component_el_table = vue.resolveComponent("el-table");
|
|
36
|
+
const _component_el_button = vue.resolveComponent("el-button");
|
|
37
|
+
const _component_el_dialog = vue.resolveComponent("el-dialog");
|
|
38
|
+
return vue.openBlock(), vue.createElementBlock("div", null, [
|
|
39
|
+
vue.createVNode(_component_el_dialog, {
|
|
40
|
+
"model-value": "",
|
|
41
|
+
title: _ctx.$t("superPageRuntimeMessage.selectNode"),
|
|
42
|
+
"close-on-click-modal": false,
|
|
43
|
+
"append-to-body": "",
|
|
44
|
+
width: "30%",
|
|
45
|
+
"max-height": "400",
|
|
46
|
+
onOpen: _cache[1] || (_cache[1] = ($event) => emits("open")),
|
|
47
|
+
onOpend: _cache[2] || (_cache[2] = ($event) => emits("opend")),
|
|
48
|
+
onClose: _cache[3] || (_cache[3] = ($event) => emits("close")),
|
|
49
|
+
onClosed: _cache[4] || (_cache[4] = ($event) => emits("closed"))
|
|
50
|
+
}, {
|
|
51
|
+
footer: vue.withCtx(() => [
|
|
52
|
+
vue.createElementVNode("div", _hoisted_1, [
|
|
53
|
+
vue.createVNode(_component_el_button, {
|
|
54
|
+
type: "primary",
|
|
55
|
+
onClick: selectNode
|
|
56
|
+
}, {
|
|
57
|
+
default: vue.withCtx(() => [
|
|
58
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.$t("superPageRuntimeMessage.sure")), 1)
|
|
59
|
+
]),
|
|
60
|
+
_: 1
|
|
61
|
+
}),
|
|
62
|
+
vue.createVNode(_component_el_button, {
|
|
63
|
+
onClick: _cache[0] || (_cache[0] = ($event) => emits("close"))
|
|
64
|
+
}, {
|
|
65
|
+
default: vue.withCtx(() => [
|
|
66
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.$t("superPageRuntimeMessage.cancel")), 1)
|
|
67
|
+
]),
|
|
68
|
+
_: 1
|
|
69
|
+
})
|
|
70
|
+
])
|
|
71
|
+
]),
|
|
72
|
+
default: vue.withCtx(() => [
|
|
73
|
+
vue.createVNode(_component_el_table, {
|
|
74
|
+
data: __props.taskInformitions,
|
|
75
|
+
border: "",
|
|
76
|
+
style: { "width": "100%" },
|
|
77
|
+
onSelect: select
|
|
78
|
+
}, {
|
|
79
|
+
default: vue.withCtx(() => [
|
|
80
|
+
vue.createVNode(_component_el_table_column, {
|
|
81
|
+
type: "selection",
|
|
82
|
+
width: "55"
|
|
83
|
+
}),
|
|
84
|
+
vue.createVNode(_component_el_table_column, {
|
|
85
|
+
prop: "nodeName",
|
|
86
|
+
label: _ctx.$t("superPageRuntimeMessage.nodeName"),
|
|
87
|
+
width: "180"
|
|
88
|
+
}, null, 8, ["label"]),
|
|
89
|
+
vue.createVNode(_component_el_table_column, {
|
|
90
|
+
prop: "nodeId",
|
|
91
|
+
label: _ctx.$t("superPageRuntimeMessage.nodeId"),
|
|
92
|
+
width: "180"
|
|
93
|
+
}, null, 8, ["label"])
|
|
94
|
+
]),
|
|
95
|
+
_: 1
|
|
96
|
+
}, 8, ["data"])
|
|
97
|
+
]),
|
|
98
|
+
_: 1
|
|
99
|
+
}, 8, ["title"])
|
|
100
|
+
]);
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
module.exports = _sfc_main;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
const elementPlus = require("element-plus");
|
|
4
|
+
const agilebuilderUi = require("agilebuilder-ui");
|
|
5
|
+
const objectRender_vue_vue_type_script_setup_true_lang = require("../../object-render.vue.js");
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
7
|
+
__name: "card-runtime",
|
|
8
|
+
props: {
|
|
9
|
+
pageContext: {},
|
|
10
|
+
configure: {}
|
|
11
|
+
},
|
|
12
|
+
setup(__props, { expose: __expose }) {
|
|
13
|
+
const props = __props;
|
|
14
|
+
if (!props.configure.items) {
|
|
15
|
+
props.configure.items = [];
|
|
16
|
+
}
|
|
17
|
+
const thisRef = vue.ref(null);
|
|
18
|
+
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
19
|
+
const runtimeStyle = runtimeInfo.style;
|
|
20
|
+
const runtimeClass = runtimeInfo.class;
|
|
21
|
+
const headerStyle = runtimeInfo.headerStyle;
|
|
22
|
+
const contentClass = runtimeInfo.contentClass;
|
|
23
|
+
function test() {
|
|
24
|
+
props.configure.props.title = "teee";
|
|
25
|
+
}
|
|
26
|
+
__expose({
|
|
27
|
+
test
|
|
28
|
+
});
|
|
29
|
+
return (_ctx, _cache) => {
|
|
30
|
+
return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElCard), {
|
|
31
|
+
ref_key: "thisRef",
|
|
32
|
+
ref: thisRef,
|
|
33
|
+
style: vue.normalizeStyle(vue.unref(runtimeStyle)),
|
|
34
|
+
class: vue.normalizeClass(vue.unref(runtimeClass))
|
|
35
|
+
}, vue.createSlots({
|
|
36
|
+
default: vue.withCtx(() => [
|
|
37
|
+
vue.createElementVNode("div", {
|
|
38
|
+
class: vue.normalizeClass(vue.unref(contentClass))
|
|
39
|
+
}, [
|
|
40
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.configure.items, (element, itemIndex) => {
|
|
41
|
+
return vue.openBlock(), vue.createBlock(objectRender_vue_vue_type_script_setup_true_lang, {
|
|
42
|
+
key: element.uuid,
|
|
43
|
+
pageContext: _ctx.pageContext,
|
|
44
|
+
configure: element
|
|
45
|
+
}, null, 8, ["pageContext", "configure"]);
|
|
46
|
+
}), 128))
|
|
47
|
+
], 2)
|
|
48
|
+
]),
|
|
49
|
+
_: 2
|
|
50
|
+
}, [
|
|
51
|
+
_ctx.configure.props.base.tittleShow ? {
|
|
52
|
+
name: "header",
|
|
53
|
+
fn: vue.withCtx(() => [
|
|
54
|
+
vue.createElementVNode("div", {
|
|
55
|
+
style: vue.normalizeStyle(vue.unref(headerStyle))
|
|
56
|
+
}, [
|
|
57
|
+
_ctx.configure.props.iconType && _ctx.configure.props.iconValue ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.SuperIcon), {
|
|
58
|
+
key: 0,
|
|
59
|
+
iconType: _ctx.configure.props.iconType,
|
|
60
|
+
iconValue: _ctx.configure.props.iconValue,
|
|
61
|
+
style: { "margin-right": "2px" }
|
|
62
|
+
}, null, 8, ["iconType", "iconValue"])) : vue.createCommentVNode("", true),
|
|
63
|
+
vue.createTextVNode(" " + vue.toDisplayString(_ctx.configure.props.base.title), 1)
|
|
64
|
+
], 4)
|
|
65
|
+
]),
|
|
66
|
+
key: "0"
|
|
67
|
+
} : void 0
|
|
68
|
+
]), 1032, ["style", "class"]);
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
module.exports = _sfc_main;
|