super-page-runtime 2.3.46 → 2.3.47-sit2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/components/runtime/utils/api/page-expose-util.js +136 -136
- package/dist/es/components/runtime/utils/events/event-util.js +145 -137
- package/dist/es/components/runtime/utils/events/print-label.js +33 -34
- package/dist/es/components/runtime/utils/events/standard-event.js +33 -33
- package/dist/es/components/runtime/utils/events/validator-util.js +260 -241
- package/dist/es/components/runtime/utils/page-init-util.js +45 -47
- package/dist/es/components/runtime/utils/table-utils.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/button/{button-runtime.vue2.js → button-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/button-group/{buttongroup-runtime.vue2.js → buttongroup-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/dropdown/{dropdown-runtime.vue2.js → dropdown-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/exportpdf-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/export-pdf/{exportpdf-runtime.vue2.js → exportpdf-runtime2.vue.js} +3 -3
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/print-label/{printlabel-runtime.vue2.js → printlabel-runtime2.vue.js} +3 -3
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/column-line/{column-line-runtime.vue2.js → column-line-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-breadcrumb.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js +6 -10
- package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header.vue.js +7 -9
- package/dist/es/components/runtime/views/assemblys/chart/common/common-homepage-search.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/common/{common-homepage-search.vue2.js → common-homepage-search2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.js +9 -9
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/gauge/{gauge-runtime.vue2.js → gauge-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/pie/{pie-runtime.vue2.js → pie-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/radar/{radar-runtime.vue2.js → radar-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/scatter/{scatter-runtime.vue2.js → scatter-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/chart-table-util.js +99 -104
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column-item.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/group-column.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/table-pageination.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/chart/table/{table-runtime.vue2.js → table-runtime2.vue.js} +9 -9
- package/dist/es/components/runtime/views/assemblys/common/event-call-component.vue.js +13 -13
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +9 -11
- package/dist/es/components/runtime/views/assemblys/common/file-task-notice.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/common/format-file-task-notice-message.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-table.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/common/remove-transactor-dialog.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/common/save-chart-condition-dialog.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/card/{card-runtime.vue2.js → card-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/collapse/{collapse-runtime.vue2.js → collapse-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/container/{container-runtime.vue2.js → container-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/container/fixed/FixedBox.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/fixed/{FixedBox.vue2.js → FixedBox2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/container/fixed/YxAffix.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/fixed/{YxAffix.vue2.js → YxAffix2.vue.js} +2 -4
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/flex/{flex-runtime.vue2.js → flex-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/form/{form-runtime.vue2.js → form-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/iframe/{iframe-runtime.vue2.js → iframe-runtime2.vue.js} +5 -5
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime2.vue.js +96 -0
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/tools/{tools-runtime.vue2.js → tools-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/data/bar-code/barcode-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/data/bar-code/{barcode-runtime.vue2.js → barcode-runtime2.vue.js} +9 -11
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/data/table/{table-runtime.vue2.js → table-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime2.vue.js +135 -0
- package/dist/es/components/runtime/views/assemblys/error-render.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/checkbox/{checkbox-runtime.vue2.js → checkbox-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/common/title-suffix-element.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/custom/{custom-runtime.vue2.js → custom-runtime2.vue.js} +4 -4
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime2.vue.js +102 -0
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/{depttree-runtime.vue2.js → depttree-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/divider/{divider-runtime.vue2.js → divider-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/file-upload/{fileupload-runtime.vue2.js → fileupload-runtime2.vue.js} +5 -7
- package/dist/es/components/runtime/views/assemblys/form/image-upload/imageupload-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/image-upload/{imageupload-runtime.vue2.js → imageupload-runtime2.vue.js} +4 -5
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/input-number/{input-number-runtime.vue2.js → input-number-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime2.vue.js +80 -0
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/label/{label-runtime.vue2.js → label-runtime2.vue.js} +3 -5
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/link/{link-runtime.vue2.js → link-runtime2.vue.js} +6 -8
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/placeholder/{placeholder-runtime.vue2.js → placeholder-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/radio/{radio-runtime.vue2.js → radio-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime2.vue.js +218 -0
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/select/{select-runtime.vue2.js → select-runtime2.vue.js} +7 -8
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/{separatelabel-runtime.vue2.js → separatelabel-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/switch/{switch-runtime.vue2.js → switch-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/tag/{tag-runtime.vue2.js → tag-runtime2.vue.js} +3 -3
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/textarea/{textarea-runtime.vue2.js → textarea-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/home-chart-render.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +10 -12
- package/dist/es/components/runtime/views/assemblys/page-bottom.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box2.vue.js +56 -0
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog2.vue.js +29 -0
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue.js +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime2.vue.js +45 -0
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/pictureflow-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/picture-flow/{pictureflow-runtime.vue2.js → pictureflow-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/textflow-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/text-history/{textflow-runtime.vue2.js → textflow-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/{workflowbutton-runtime.vue2.js → workflowbutton-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/workflownode-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-node/{workflownode-runtime.vue2.js → workflownode-runtime2.vue.js} +2 -2
- package/dist/es/components/runtime/views/home-chart.vue.js +8 -8
- package/dist/es/components/runtime/views/super-page-dialog.vue.js +16 -16
- package/dist/es/components/runtime/views/super-page.vue.d.ts +2 -2
- package/dist/es/components/runtime/views/super-page.vue.js +1 -1
- package/dist/es/components/runtime/views/{super-page.vue2.js → super-page2.vue.js} +98 -99
- package/dist/es/i18n/langs/cn.js +1 -1
- package/dist/es/i18n/langs/en.js +1 -1
- package/dist/es/style.css +85 -85
- package/package.json +2 -2
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +0 -96
- package/dist/es/components/runtime/views/assemblys/data/tree/tree-runtime.vue2.js +0 -134
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +0 -102
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +0 -83
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +0 -218
- package/dist/es/components/runtime/views/assemblys/workflow/component/workflow-opinion-box.vue2.js +0 -55
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime-dialog.vue2.js +0 -28
- package/dist/es/components/runtime/views/assemblys/workflow/extract-workflow/extract-workflow-runtime.vue2.js +0 -45
- /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header-breadcrumb.vue2.js → common-chart-header-breadcrumb2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header-group.vue2.js → common-chart-header-group2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/common/{common-chart-header.vue2.js → common-chart-header2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/common/{home-chart-condition-render.vue2.js → home-chart-condition-render2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/table/{group-column-item.vue2.js → group-column-item2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/table/{group-column.vue2.js → group-column2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/table/{normal-column.vue2.js → normal-column2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/chart/table/{table-pageination.vue2.js → table-pageination2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{event-call-component.vue2.js → event-call-component2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{export-form-report-dialog.vue2.js → export-form-report-dialog2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{file-task-notice.vue2.js → file-task-notice2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{format-file-task-notice-message.vue2.js → format-file-task-notice-message2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{remove-signer-dialog.vue2.js → remove-signer-dialog2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{remove-signer-table.vue2.js → remove-signer-table2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{remove-transactor-dialog.vue2.js → remove-transactor-dialog2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{save-chart-condition-dialog.vue2.js → save-chart-condition-dialog2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/common/{task-informition-dialog.vue2.js → task-informition-dialog2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/data/table/{main-table-runtime.vue2.js → main-table-runtime2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/data/table/{sub-table-runtime.vue2.js → sub-table-runtime2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/{error-render.vue2.js → error-render2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/form/common/{title-suffix-element.vue2.js → title-suffix-element2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/{home-chart-render.vue2.js → home-chart-render2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/{object-render.vue2.js → object-render2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/assemblys/{page-bottom.vue2.js → page-bottom2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/{home-chart.vue2.js → home-chart2.vue.js} +0 -0
- /package/dist/es/components/runtime/views/{super-page-dialog.vue3.js → super-page-dialog3.vue.js} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import e from "agilebuilder-ui/src/utils/request";
|
|
2
2
|
import { getAdditionalParamMap as t } from "./events/standard-event.js";
|
|
3
3
|
import { PageDimensions as n } from "./interfaces/page-design-types.js";
|
|
4
|
-
import { getFormPropName as i, getVariableValue as
|
|
4
|
+
import { getFormPropName as i, getVariableValue as s, formatVariableValue as o, setVariableValue as r } from "./page-helper-util.js";
|
|
5
5
|
import { getSessionCache as a } from "agilebuilder-ui/src/utils/auth";
|
|
6
6
|
import { functions as l } from "./api/page-expose-util.js";
|
|
7
|
-
import { isWorkflowPage as
|
|
7
|
+
import { isWorkflowPage as p, deepCopy as u } from "./common-util.js";
|
|
8
8
|
import { packageCustomValidator as d } from "./events/validator-util.js";
|
|
9
9
|
import { isMobileBrowser as c } from "agilebuilder-ui/src/utils/common-util";
|
|
10
10
|
function f(t2) {
|
|
@@ -12,7 +12,7 @@ function f(t2) {
|
|
|
12
12
|
(function(t3) {
|
|
13
13
|
return e.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/runtime/" + t3);
|
|
14
14
|
})(t2).then((e2) => {
|
|
15
|
-
e2 ?
|
|
15
|
+
e2 ? b().then((t3) => {
|
|
16
16
|
t3 && (e2.systemParam = h(t3)), g(e2.listViewTableName, e2.listViewTablePublishVersion).then((t4) => {
|
|
17
17
|
t4 ? (e2.contextParam = h(t4.contextParam), e2.branchFieldAuth = t4.branchFieldAuth, e2.isWorkflowEntity = t4.isWorkflowEntity, e2.dataTypeMaps = t4.dataTypeMaps, n2(e2)) : n2(null);
|
|
18
18
|
});
|
|
@@ -24,8 +24,8 @@ function f(t2) {
|
|
|
24
24
|
}
|
|
25
25
|
function m(e2, t2) {
|
|
26
26
|
return new Promise((n2, i2) => {
|
|
27
|
-
e2 ?
|
|
28
|
-
|
|
27
|
+
e2 ? b().then((s2) => {
|
|
28
|
+
s2 && (e2.systemParam = h(s2)), e2.tableRuntimes && Object.keys(e2.tableRuntimes).length > 0 ? R(e2, t2, e2.systemVersion).then((t3) => {
|
|
29
29
|
e2.contextParam = h(t3.contextParam), e2.branchFieldAuth = t3.branchFieldAuth, e2.isWorkflowEntity = t3.isWorkflowEntity, e2.dataTypeMaps = t3.dataTypeMaps, e2.superGridItems = t3.superGrids, n2(e2);
|
|
30
30
|
}).catch((e3) => {
|
|
31
31
|
i2(e3);
|
|
@@ -41,10 +41,10 @@ function g(t2, n2) {
|
|
|
41
41
|
let i2 = "";
|
|
42
42
|
return t2 && n2 && (i2 = "?listViewTableName=" + t2 + "&listViewTablePublishVersion=" + n2), e.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/runtime-param" + i2);
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function b() {
|
|
45
45
|
return e.get(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/system-param");
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function y(e2) {
|
|
48
48
|
var _a, _b, _c;
|
|
49
49
|
if (null == e2) return null;
|
|
50
50
|
const t2 = { uuid: e2.uuid, name: e2.name, label: e2.label, code: e2.code, version: e2.version, dimensions: e2.dimensions, systemCode: e2.systemCode, systemVersion: e2.systemVersion, backendUrl: e2.backendUrl, rules: {}, tableUuids: e2.tableUuids, listCodesMap: e2.listCodesMap, listCodesInitSearchForm: e2.listCodesInitSearchForm, formNoRuleCode: e2.props ? e2.props.formNoRuleCode : null, judgeHeavyList: w(e2), pageType: e2.pageType, beanName: e2.props ? e2.props.beanName : null, importBeanName: e2.props ? e2.props.importBeanName : null, subTablePageInfo: e2.subTablePageInfo, workflowCode: e2.workflowCode, workflowVersion: e2.workflowVersion, refercePropMap: (_a = e2.runtime) == null ? void 0 : _a.refercePropMap, subTableWatchProps: e2.subTableWatchProps, dataTypeMaps: e2.dataTypeMaps, allChartUuids: e2.allChartUuids, branchFieldAuth: e2.branchFieldAuth, isWorkflowEntityOrg: e2.isWorkflowEntityOrg, entity: { data: {}, task: {}, request: {}, page: {}, context: e2.contextParam, system: e2.systemParam }, propTitleMap: {} };
|
|
@@ -91,7 +91,6 @@ function w(e2) {
|
|
|
91
91
|
e3.duplicateFieldList && e3.duplicateFieldList.length > 0 && (e3.duplicateFieldList = e3.duplicateFieldList.map((e4) => "string" == typeof e4 ? { propDbName: e4 } : e4));
|
|
92
92
|
}), e2.props.judgeHeavyList) : null;
|
|
93
93
|
} catch (e3) {
|
|
94
|
-
console.error("getJudgeHeavyList error:", e3);
|
|
95
94
|
}
|
|
96
95
|
}
|
|
97
96
|
function P(e2) {
|
|
@@ -122,7 +121,7 @@ function E(e2, t2, n2) {
|
|
|
122
121
|
}
|
|
123
122
|
}
|
|
124
123
|
function v(e2, t2) {
|
|
125
|
-
if (e2 && (e2.params && Object.assign(t2, e2.params), e2.query
|
|
124
|
+
if (e2 && (e2.params && Object.assign(t2, e2.params), e2.query)) {
|
|
126
125
|
Object.assign(t2, e2.query);
|
|
127
126
|
k(e2.query.paramStoreId, t2);
|
|
128
127
|
}
|
|
@@ -155,33 +154,32 @@ function C(e2) {
|
|
|
155
154
|
function I(e2, t2) {
|
|
156
155
|
let n2, i2 = t2;
|
|
157
156
|
t2 || (n2 = e2.props.base ? e2.props.base : {}, i2 = n2.prop);
|
|
158
|
-
let
|
|
159
|
-
return t2 && !t2.startsWith("${") ?
|
|
157
|
+
let s2 = null;
|
|
158
|
+
return t2 && !t2.startsWith("${") ? s2 = ["data", t2] : !e2 || i2 && i2.startsWith("${") ? i2.startsWith("${") ? (i2 = i2.substring(2, i2.length - 1), s2 = i2.split("."), e2 && s2.length < 2 && (s2 = [e2.uuid])) : e2 && (s2 = ["page", e2.uuid]) : s2 = ["page", e2.uuid], s2 || e2 ? s2 : ["temp"];
|
|
160
159
|
}
|
|
161
160
|
function M(e2, t2, n2) {
|
|
162
161
|
var _a, _b;
|
|
163
|
-
const i2 = I(t2, n2),
|
|
164
|
-
if (null ==
|
|
165
|
-
let n3,
|
|
166
|
-
t2 && (n3 = t2.props.base ? t2.props.base : {},
|
|
167
|
-
const l2 =
|
|
162
|
+
const i2 = I(t2, n2), o2 = e2.entity;
|
|
163
|
+
if (null == o2.data.ID && null == o2.data.id) {
|
|
164
|
+
let n3, r2, a2 = false;
|
|
165
|
+
t2 && (n3 = t2.props.base ? t2.props.base : {}, r2 = t2.name, a2 = n3.multiple);
|
|
166
|
+
const l2 = s(o2, i2);
|
|
168
167
|
if (null == l2) {
|
|
169
|
-
const
|
|
170
|
-
if (
|
|
171
|
-
const t3 = S(e2,
|
|
172
|
-
if (j(t3)) O(
|
|
168
|
+
const s2 = n3 ? n3.defaultValue : null, l3 = Boolean((_a = t2 == null ? void 0 : t2.runtime) == null ? void 0 : _a.arrayValue);
|
|
169
|
+
if (s2) try {
|
|
170
|
+
const t3 = S(e2, s2, r2, a2);
|
|
171
|
+
if (j(t3)) O(o2, i2, t3, l3);
|
|
173
172
|
else if (((_b = n3.moreDefaultValue) == null ? void 0 : _b.length) > 0) {
|
|
174
173
|
const t4 = n3.moreDefaultValue;
|
|
175
174
|
for (let n4 = 0; n4 < t4.length; n4++) {
|
|
176
|
-
const
|
|
177
|
-
if (j(
|
|
178
|
-
O(
|
|
175
|
+
const s3 = S(e2, t4[n4], r2, a2);
|
|
176
|
+
if (j(s3)) {
|
|
177
|
+
O(o2, i2, s3, l3);
|
|
179
178
|
break;
|
|
180
179
|
}
|
|
181
180
|
}
|
|
182
181
|
}
|
|
183
182
|
} catch (e3) {
|
|
184
|
-
console.error("设置默认值出错:", i2, e3);
|
|
185
183
|
}
|
|
186
184
|
}
|
|
187
185
|
}
|
|
@@ -191,29 +189,29 @@ function j(e2) {
|
|
|
191
189
|
return null != e2 && "" !== e2;
|
|
192
190
|
}
|
|
193
191
|
function O(e2, t2, n2, i2) {
|
|
194
|
-
!Array.isArray(n2) || i2 ?
|
|
192
|
+
!Array.isArray(n2) || i2 ? r(e2, t2, n2) : r(e2, t2, n2.join(","));
|
|
195
193
|
}
|
|
196
194
|
function S(e2, t2, n2, i2) {
|
|
197
|
-
let
|
|
198
|
-
if (t2 && (
|
|
195
|
+
let s2;
|
|
196
|
+
if (t2 && (s2 = o(e2, t2), null != s2 && null != s2 && n2)) {
|
|
199
197
|
let e3 = false;
|
|
200
|
-
"checkbox" == n2 ? e3 = true : "select" == n2 && (e3 = i2), e3 && (
|
|
198
|
+
"checkbox" == n2 ? e3 = true : "select" == n2 && (e3 = i2), e3 && (s2 = (s2 + "").split(","));
|
|
201
199
|
}
|
|
202
|
-
return
|
|
200
|
+
return s2;
|
|
203
201
|
}
|
|
204
202
|
function T(e2, t2) {
|
|
205
203
|
var _a, _b;
|
|
206
204
|
if (false === ((_b = (_a = e2.props) == null ? void 0 : _a.base) == null ? void 0 : _b.isPermission)) return "true";
|
|
207
205
|
const n2 = [];
|
|
208
206
|
if (e2.functionCodes && e2.functionCodes.length > 0) {
|
|
209
|
-
const i2 = e2.sourceTypes ? e2.sourceTypes : [],
|
|
210
|
-
for (let e3 = 0; e3 <
|
|
211
|
-
const
|
|
207
|
+
const i2 = e2.sourceTypes ? e2.sourceTypes : [], s2 = e2.functionCodes;
|
|
208
|
+
for (let e3 = 0; e3 < s2.length; e3++) {
|
|
209
|
+
const o2 = s2[e3], r2 = e3 < i2.length ? i2[e3] : "";
|
|
212
210
|
let a2 = "";
|
|
213
|
-
if ("service" ==
|
|
214
|
-
else if ("standard" ===
|
|
211
|
+
if ("service" == r2) a2 = o2;
|
|
212
|
+
else if ("standard" === r2) a2 = t2.code + "." + o2;
|
|
215
213
|
else {
|
|
216
|
-
a2 = "custom" === _(
|
|
214
|
+
a2 = "custom" === _(o2, t2).type ? o2 : t2.code + "." + o2;
|
|
217
215
|
}
|
|
218
216
|
n2.includes(a2) || n2.push(a2);
|
|
219
217
|
}
|
|
@@ -227,26 +225,26 @@ function _(e2, t2) {
|
|
|
227
225
|
}
|
|
228
226
|
return null;
|
|
229
227
|
}
|
|
230
|
-
function R(n2, i2,
|
|
231
|
-
const
|
|
228
|
+
function R(n2, i2, s2) {
|
|
229
|
+
const o2 = n2.tableRuntimes, r2 = t(i2);
|
|
232
230
|
let a2;
|
|
233
231
|
const l2 = n2.code;
|
|
234
|
-
return
|
|
232
|
+
return r2 && Object.keys(r2) > 0 && (a2 = JSON.stringify(r2)), e.post(window.$vueApp.config.globalProperties.baseAPI + "/component/super-page-design/super-grids", { tableRuntimes: o2, additionalParamMapJson: a2, pageCode: l2, publishVersion: s2, pageType: n2.pageType });
|
|
235
233
|
}
|
|
236
234
|
const x = ["button-detail", "print-label"];
|
|
237
235
|
function F(e2, t2, n2) {
|
|
238
236
|
var _a, _b;
|
|
239
|
-
const
|
|
240
|
-
let
|
|
241
|
-
if (
|
|
237
|
+
const s2 = t2.props && t2.props.base ? t2.props.base.prop : null, o2 = p(e2);
|
|
238
|
+
let r2 = false;
|
|
239
|
+
if (o2 && x.indexOf(t2.name) < 0 && e2.fieldPermissionMap) {
|
|
242
240
|
const n3 = e2.fieldPermissionMap.get("all_fields");
|
|
243
|
-
false === (n3 == null ? void 0 : n3.canEdit) && ((_a = t2.runtime) == null ? void 0 : _a.props) && (t2.runtime.props.state = "disabled",
|
|
241
|
+
false === (n3 == null ? void 0 : n3.canEdit) && ((_a = t2.runtime) == null ? void 0 : _a.props) && (t2.runtime.props.state = "disabled", r2 = true);
|
|
244
242
|
}
|
|
245
|
-
if (
|
|
246
|
-
const a2 = i(
|
|
243
|
+
if (s2) {
|
|
244
|
+
const a2 = i(s2);
|
|
247
245
|
if (e2.rules || (e2.rules = {}), t2.props.rules && t2.props.rules.length > 0 && (e2.rules[a2] || (e2.rules[a2] = []), t2.props.rules.forEach((e3) => {
|
|
248
246
|
d(e3), !n2 && e3 && e3.required && (e3.required = false);
|
|
249
|
-
}), e2.rules[a2] = t2.props.rules),
|
|
247
|
+
}), e2.rules[a2] = t2.props.rules), o2 && !r2 && "button-detail" !== t2.name && e2.fieldPermissionMap) {
|
|
250
248
|
const i2 = e2.fieldPermissionMap.get(a2);
|
|
251
249
|
if (!n2 && e2.workflowRules && (e2.workflowRules[a2] || e2.workflowRules.rules && e2.workflowRules.rules[a2])) {
|
|
252
250
|
let t3 = e2.workflowRules[a2];
|
|
@@ -271,7 +269,7 @@ function V(e2, t2) {
|
|
|
271
269
|
if (i2) if ("dynamicControlFormEdit" === n2) {
|
|
272
270
|
let n3 = i2.filter((e3) => "_all_fields" === e3.name || e3.name === t2);
|
|
273
271
|
if (n3 && n3.length > 0 && (n3 = n3.filter((e3) => "_all_fields" === e3.name), n3 && n3.length > 0)) {
|
|
274
|
-
const e3 =
|
|
272
|
+
const e3 = u(n3[0]);
|
|
275
273
|
e3.name = t2, n3 = [e3];
|
|
276
274
|
}
|
|
277
275
|
l.dynamicControlFormEdit(e2, n3, false);
|
|
@@ -281,7 +279,7 @@ function V(e2, t2) {
|
|
|
281
279
|
}
|
|
282
280
|
export {
|
|
283
281
|
V as controlObjectRenderState,
|
|
284
|
-
|
|
282
|
+
y as convertToPageContext,
|
|
285
283
|
S as getDefaultValue,
|
|
286
284
|
M as getFormModelFields,
|
|
287
285
|
I as getModelFields,
|
|
@@ -18,7 +18,7 @@ function p(t2, e2) {
|
|
|
18
18
|
}
|
|
19
19
|
function l(t2, e2, o2, i2) {
|
|
20
20
|
const r2 = !(!e2.props || !e2.props.base) && e2.props.base.showOperation, u2 = e2.btnList;
|
|
21
|
-
|
|
21
|
+
r2 && u2 && u2.forEach((e3) => {
|
|
22
22
|
const r3 = {}, u3 = Object.assign({}, e3.props.base);
|
|
23
23
|
if ("custom" === e3.name ? u3.customControl = u3.name : u3.elementType = "el-button", void 0 === e3.isPermission || e3.isPermission + "" == "true") {
|
|
24
24
|
const o3 = n(e3, t2);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, onMounted as l, nextTick as i, onUnmounted as n, resolveComponent as o,
|
|
1
|
+
import { defineComponent as e, ref as t, onMounted as l, nextTick as i, onUnmounted as n, resolveComponent as o, openBlock as a, createElementBlock as u, createBlock as c, unref as p, normalizeStyle as r, normalizeClass as s, withCtx as v, Fragment as y, createTextVNode as g, toDisplayString as d, createCommentVNode as f } from "vue";
|
|
2
2
|
import { SuperIcon as k } from "agilebuilder-ui";
|
|
3
3
|
import { handleAfterInitEvent as x, handleEvent as C } from "../../../../utils/events/event-util.js";
|
|
4
4
|
import { $t as m } from "../../../../utils/i18n-util.js";
|
|
@@ -21,7 +21,7 @@ const V = { class: "page-runtime-header-btn" }, T = e({ __name: "button-runtime"
|
|
|
21
21
|
R.value && R.value.$el.click();
|
|
22
22
|
} }), (t2, l2) => {
|
|
23
23
|
const i2 = o("el-link"), n2 = o("el-button");
|
|
24
|
-
return
|
|
24
|
+
return a(), u("span", V, [z.value.text ? (a(), c(i2, { key: 0, ref_key: "componentRef", ref: R, disabled: P(), class: s(p(h)), style: r(p(_)), type: z.value.type, size: z.value.size, loading: N(), onClick: l2[0] || (l2[0] = (t3) => p(C)(t3, e2.pageContext, e2.configure, "click")) }, { default: v(() => [z.value.title && "right" == z.value.iconPosition && !z.value.isTextIcon ? (a(), u(y, { key: 0 }, [g(d(p(m)(z.value.title)) + " ", 1), z.value.iconValue ? (a(), u(y, { key: 0 }, [g(" ")], 64)) : f("", true)], 64)) : f("", true), z.value.iconType && z.value.iconValue ? (a(), c(p(k), { key: 1, iconType: z.value.iconType, iconValue: z.value.iconValue }, null, 8, ["iconType", "iconValue"])) : f("", true), z.value.title && "right" != z.value.iconPosition && !z.value.isTextIcon ? (a(), u(y, { key: 2 }, [z.value.iconValue ? (a(), u(y, { key: 0 }, [g(" ")], 64)) : f("", true), g(" " + d(p(m)(z.value.title)), 1)], 64)) : f("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "loading"])) : (a(), c(n2, { key: 1, ref_key: "componentRef", ref: R, disabled: P(), class: s(p(h)), style: r(p(_)), type: z.value.type, size: z.value.size, round: z.value.round, plain: z.value.plain, loading: N(), onClick: l2[1] || (l2[1] = (t3) => p(C)(t3, e2.pageContext, e2.configure, "click")) }, { default: v(() => [z.value.title && "right" == z.value.iconPosition ? (a(), u(y, { key: 0 }, [g(d(p(m)(z.value.title)) + " ", 1), z.value.iconValue ? (a(), u(y, { key: 0 }, [g(" ")], 64)) : f("", true)], 64)) : f("", true), z.value.iconType && z.value.iconValue ? (a(), c(p(k), { key: 1, iconType: z.value.iconType, iconValue: z.value.iconValue }, null, 8, ["iconType", "iconValue"])) : f("", true), z.value.title && "right" != z.value.iconPosition ? (a(), u(y, { key: 2 }, [z.value.iconValue ? (a(), u(y, { key: 0 }, [g(" ")], 64)) : f("", true), g(" " + d(p(m)(z.value.title)), 1)], 64)) : f("", true)]), _: 1 }, 8, ["disabled", "class", "style", "type", "size", "round", "plain", "loading"]))]);
|
|
25
25
|
};
|
|
26
26
|
} });
|
|
27
27
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, computed as t, ref as n, onMounted as o, nextTick as u, resolveComponent as r,
|
|
1
|
+
import { defineComponent as e, computed as t, ref as n, onMounted as o, nextTick as u, resolveComponent as r, openBlock as a, createBlock as p, normalizeStyle as g, normalizeClass as i, unref as s, withCtx as l, createElementBlock as c, Fragment as f, renderList as m } from "vue";
|
|
2
2
|
import x from "../../object-render.vue.js";
|
|
3
3
|
import { handleAfterInitEvent as y } from "../../../../utils/events/event-util.js";
|
|
4
4
|
const C = e({ __name: "buttongroup-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
|
|
@@ -13,7 +13,7 @@ const C = e({ __name: "buttongroup-runtime", props: { pageContext: {}, configure
|
|
|
13
13
|
});
|
|
14
14
|
}), (t2, n2) => {
|
|
15
15
|
const o2 = r("el-button-group");
|
|
16
|
-
return
|
|
16
|
+
return a(), p(o2, { ref_key: "componentRef", ref: _, class: i(["amb-button-group-main", s(b)]), style: g(d.value) }, { default: l(() => [(a(true), c(f, null, m(e2.configure.items, (t3, n3) => (a(), p(x, { key: t3.uuid, pageContext: e2.pageContext, configure: t3 }, null, 8, ["pageContext", "configure"]))), 128))]), _: 1 }, 8, ["class", "style"]);
|
|
17
17
|
};
|
|
18
18
|
} });
|
|
19
19
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, computed as l, onMounted as n, nextTick as o, resolveComponent as u,
|
|
1
|
+
import { defineComponent as e, ref as t, computed as l, onMounted as n, nextTick as o, resolveComponent as u, openBlock as i, createBlock as a, normalizeStyle as r, unref as p, normalizeClass as s, withCtx as c, createElementBlock as g, Fragment as f, createTextVNode as d, toDisplayString as m, createVNode as v, renderList as y } from "vue";
|
|
2
2
|
import { ArrowDown as b } from "@element-plus/icons-vue";
|
|
3
3
|
import { formatVariableValue as C } from "../../../../utils/page-helper-util.js";
|
|
4
4
|
import { handleAfterInitEvent as k, handleEvent as x, handleFormEvent as _ } from "../../../../utils/events/event-util.js";
|
|
@@ -33,7 +33,7 @@ const z = { key: 1 }, h = e({ __name: "dropdown-runtime", props: { pageContext:
|
|
|
33
33
|
});
|
|
34
34
|
}), (t2, l2) => {
|
|
35
35
|
const n2 = u("el-button"), o2 = u("el-icon"), C2 = u("el-text"), k2 = u("el-dropdown-item"), _2 = u("el-dropdown-menu"), h3 = u("el-dropdown");
|
|
36
|
-
return
|
|
36
|
+
return i(), a(h3, { ref_key: "componentRef", ref: V, class: s(p(A)), style: r(p(T)), placement: B.value.placement, "split-button": B.value.splitButton, disabled: "disabled" === B.value.state, type: B.value.buttonType, size: B.value.size, trigger: B.value.trigger, onVisibleChange: S }, { dropdown: c(() => [v(_2, null, { default: c(() => [(i(true), g(f, null, y(p(O), (t3, l3) => (i(), a(k2, { key: t3, onClick: (l4) => p(x)(l4, e2.pageContext, e2.configure, "click", { menuItem: t3 }) }, { default: c(() => [d(m(p(w)(t3.label)), 1)]), _: 2 }, 1032, ["onClick"]))), 128))]), _: 1 })]), default: c(() => ["button" === B.value.triggerElement ? (i(), g(f, { key: 0 }, [B.value.splitButton ? (i(), g("span", z, m(B.value.title), 1)) : (i(), a(n2, { key: 0, size: B.value.size, type: B.value.buttonType }, { default: c(() => [d(m(p(w)(B.value.title)), 1)]), _: 1 }, 8, ["size", "type"]))], 64)) : (i(), a(C2, { key: 1 }, { default: c(() => [d(m(p(w)(B.value.title)) + " ", 1), v(o2, null, { default: c(() => [v(p(b))]), _: 1 })]), _: 1 }))]), _: 1 }, 8, ["class", "style", "placement", "split-button", "disabled", "type", "size", "trigger"]);
|
|
37
37
|
};
|
|
38
38
|
} });
|
|
39
39
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as e,
|
|
2
|
-
import n from "../button/button-
|
|
3
|
-
const r = e({ __name: "exportpdf-runtime", props: { pageContext: {}, configure: {} }, setup: (e2) => (r2, u) => (
|
|
1
|
+
import { defineComponent as e, openBlock as t, createBlock as o } from "vue";
|
|
2
|
+
import n from "../button/button-runtime2.vue.js";
|
|
3
|
+
const r = e({ __name: "exportpdf-runtime", props: { pageContext: {}, configure: {} }, setup: (e2) => (r2, u) => (t(), o(n, { configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"])) });
|
|
4
4
|
export {
|
|
5
5
|
r as default
|
|
6
6
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, onMounted as l, nextTick as n, resolveComponent as u,
|
|
1
|
+
import { defineComponent as e, ref as t, onMounted as l, nextTick as n, resolveComponent as u, openBlock as o, createBlock as a, normalizeStyle as i, unref as p, normalizeClass as r, withCtx as s, createElementBlock as g, Fragment as c, createTextVNode as m, toDisplayString as f, createVNode as v, renderList as d } from "vue";
|
|
2
2
|
import "agilebuilder-ui";
|
|
3
3
|
import { handleAfterInitEvent as y, handleEvent as b } from "../../../../utils/events/event-util.js";
|
|
4
|
-
import k from "../button/button-
|
|
4
|
+
import k from "../button/button-runtime2.vue.js";
|
|
5
5
|
import { $t as C } from "../../../../utils/i18n-util.js";
|
|
6
6
|
const x = { key: 1 }, _ = e({ __name: "printlabel-runtime", props: { pageContext: {}, configure: {} }, setup(e2) {
|
|
7
7
|
const _2 = e2, w = _2.configure.runtime ? _2.configure.runtime : {}, z = t(w.props ? w.props : {}), j = t(false);
|
|
@@ -13,7 +13,7 @@ const x = { key: 1 }, _ = e({ __name: "printlabel-runtime", props: { pageContext
|
|
|
13
13
|
});
|
|
14
14
|
}), (t2, l2) => {
|
|
15
15
|
const n2 = u("el-button"), y2 = u("ArrowDown"), _3 = u("el-icon"), w2 = u("el-text"), T = u("el-dropdown-item"), h = u("el-dropdown-menu"), A = u("el-dropdown");
|
|
16
|
-
return j.value ? (
|
|
16
|
+
return j.value ? (o(), a(A, { key: 1, ref_key: "componentRef", ref: R, class: r(p(D)), style: i(p(B)), placement: z.value.placement, "split-button": z.value.splitButton, disabled: "disabled" === z.value.state, type: z.value.buttonType, size: z.value.size, trigger: z.value.trigger }, { dropdown: s(() => [v(h, null, { default: s(() => [(o(true), g(c, null, d(z.value.template, (t3, l3) => (o(), a(T, { key: t3, onClick: (l4) => p(b)(l4, e2.pageContext, e2.configure, "click", { menuItem: t3 }) }, { default: s(() => [m(f(p(C)(t3.label)), 1)]), _: 2 }, 1032, ["onClick"]))), 128))]), _: 1 })]), default: s(() => ["button" === z.value.triggerElement ? (o(), g(c, { key: 0 }, [z.value.splitButton ? (o(), g("span", x, f(p(C)(z.value.title)), 1)) : (o(), a(n2, { key: 0, size: z.value.size, type: z.value.buttonType, onClick: l2[0] || (l2[0] = (t3) => p(b)(t3, e2.pageContext, e2.configure, "menuClick")) }, { default: s(() => [m(f(p(C)(z.value.title)), 1)]), _: 1 }, 8, ["size", "type"]))], 64)) : (o(), a(w2, { key: 1 }, { default: s(() => [m(f(p(C)(z.value.title)) + " ", 1), v(_3, null, { default: s(() => [v(y2)]), _: 1 })]), _: 1 }))]), _: 1 }, 8, ["class", "style", "placement", "split-button", "disabled", "type", "size", "trigger"])) : (o(), a(k, { key: 0, configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"]));
|
|
17
17
|
};
|
|
18
18
|
} });
|
|
19
19
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as r, onMounted as o, watch as t,
|
|
1
|
+
import { defineComponent as e, ref as r, onMounted as o, watch as t, openBlock as n, createElementBlock as a, normalizeClass as i, unref as u, normalizeStyle as s, withDirectives as l, createVNode as c, vShow as p } from "vue";
|
|
2
2
|
import { getCustomTheme as f, initChartOption as g, monitorChartClickToVariable as m, clearChartSelected as h, exportCommonChart as d } from "../../../../utils/charts/chart-util.js";
|
|
3
3
|
import { getChartDatasFromPage as v, updateChartDatasources as x, monitorFieldChange as C } from "../../../../utils/page-helper-util.js";
|
|
4
4
|
import { updateChartOption as I } from "../../../../utils/charts/chart-columnline-util.js";
|
|
@@ -46,7 +46,7 @@ const A = e({ __name: "column-line-runtime", props: { pageContext: {}, configure
|
|
|
46
46
|
ee(true);
|
|
47
47
|
}), A2({ updateChartDatas: oe, exportChart: function() {
|
|
48
48
|
return d(S.value, M);
|
|
49
|
-
}, chartOption: Q }), (r2, o2) => (
|
|
49
|
+
}, chartOption: Q }), (r2, o2) => (n(), a("div", { style: s(u(J)), class: i([u(K), "amb-widget-chart amb-widget-flex amb-chart-container"]), ref_key: "thisRef", ref: N }, [l(c(y, { ref_key: "headerRef", ref: U, headerInfo: u(M), configure: e2.configure, pageContext: e2.pageContext, onDrillEnd: Y, class: "amb-chart-header" }, null, 8, ["headerInfo", "configure", "pageContext"]), [[p, u(M).showHeader || e2.pageContext.showHomepageSearch]]), c(u(E), { ref_key: "chartRef", ref: S, class: "amb-chart-content", theme: u(X), option: u(Q), autoresize: "" }, null, 8, ["theme", "option"])], 6));
|
|
50
50
|
} });
|
|
51
51
|
export {
|
|
52
52
|
A as default
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as e, resolveComponent as r,
|
|
1
|
+
import { defineComponent as e, resolveComponent as r, openBlock as o, createBlock as l, unref as t, withCtx as s, createElementBlock as a, Fragment as n, renderList as c, createTextVNode as m, toDisplayString as u } from "vue";
|
|
2
2
|
import { ArrowRight as i } from "@element-plus/icons-vue";
|
|
3
3
|
const p = e({ __name: "common-chart-header-breadcrumb", props: { headerInfo: { type: Object, required: true } }, emits: ["close-drill"], setup(e2, { emit: p2 }) {
|
|
4
4
|
const d = p2;
|
|
5
5
|
return (p3, f) => {
|
|
6
6
|
const b = r("el-tag"), h = r("el-breadcrumb");
|
|
7
|
-
return
|
|
7
|
+
return o(), l(h, { "separator-icon": t(i) }, { default: s(() => [(o(true), a(n, null, c(e2.headerInfo.drillOptions, (e3, r2) => (o(), l(b, { key: e3.name, closable: "", type: "success", style: { "margin-left": "4px" }, onClose: (e4) => {
|
|
8
8
|
d("close-drill", r2);
|
|
9
9
|
} }, { default: s(() => [m(u(e3.label), 1)]), _: 2 }, 1032, ["onClose"]))), 128))]), _: 1 }, 8, ["separator-icon"]);
|
|
10
10
|
};
|
package/dist/es/components/runtime/views/assemblys/chart/common/common-chart-header-group.vue.js
CHANGED
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
import { defineComponent as e, watch as l, resolveComponent as o,
|
|
2
|
-
const t = e({ __name: "common-chart-header-group", props: { headerInfo: { type: Object, required: true } }, setup(e2) {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
const h = o("el-checkbox"), f = o("el-checkbox-group"), m = o("el-radio"), V = o("el-radio-button"), b = o("el-radio-group");
|
|
8
|
-
return "checkbox" == e2.headerInfo.groupComponent ? (r(), a(f, { key: 0, modelValue: e2.headerInfo.groupValue, "onUpdate:modelValue": t3[0] || (t3[0] = (l3) => e2.headerInfo.groupValue = l3) }, { default: n(() => [(r(true), u(d, null, p(e2.headerInfo.options, (e3) => (r(), a(h, { label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"])) : "radio" == e2.headerInfo.groupComponent ? (r(true), u(d, { key: 1 }, p(e2.headerInfo.options, (l3) => (r(), a(m, { modelValue: e2.headerInfo.groupValue, "onUpdate:modelValue": t3[1] || (t3[1] = (l4) => e2.headerInfo.groupValue = l4), value: l3.value, label: l3.label }, null, 8, ["modelValue", "value", "label"]))), 256)) : (r(), a(b, { key: 2, modelValue: e2.headerInfo.groupValue, "onUpdate:modelValue": t3[2] || (t3[2] = (l3) => e2.headerInfo.groupValue = l3) }, { default: n(() => [(r(true), u(d, null, p(e2.headerInfo.options, (e3) => (r(), a(V, { label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"]));
|
|
9
|
-
};
|
|
10
|
-
} });
|
|
1
|
+
import { defineComponent as e, watch as l, resolveComponent as o, openBlock as a, createBlock as u, withCtx as r, createElementBlock as d, Fragment as n, renderList as p } from "vue";
|
|
2
|
+
const t = e({ __name: "common-chart-header-group", props: { headerInfo: { type: Object, required: true } }, setup: (e2) => (l(e2.headerInfo, () => {
|
|
3
|
+
}), (l2, t2) => {
|
|
4
|
+
const h = o("el-checkbox"), f = o("el-checkbox-group"), m = o("el-radio"), V = o("el-radio-button"), b = o("el-radio-group");
|
|
5
|
+
return "checkbox" == e2.headerInfo.groupComponent ? (a(), u(f, { key: 0, modelValue: e2.headerInfo.groupValue, "onUpdate:modelValue": t2[0] || (t2[0] = (l3) => e2.headerInfo.groupValue = l3) }, { default: r(() => [(a(true), d(n, null, p(e2.headerInfo.options, (e3) => (a(), u(h, { label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"])) : "radio" == e2.headerInfo.groupComponent ? (a(true), d(n, { key: 1 }, p(e2.headerInfo.options, (l3) => (a(), u(m, { modelValue: e2.headerInfo.groupValue, "onUpdate:modelValue": t2[1] || (t2[1] = (l4) => e2.headerInfo.groupValue = l4), value: l3.value, label: l3.label }, null, 8, ["modelValue", "value", "label"]))), 256)) : (a(), u(b, { key: 2, modelValue: e2.headerInfo.groupValue, "onUpdate:modelValue": t2[2] || (t2[2] = (l3) => e2.headerInfo.groupValue = l3) }, { default: r(() => [(a(true), d(n, null, p(e2.headerInfo.options, (e3) => (a(), u(V, { label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 256))]), _: 1 }, 8, ["modelValue"]));
|
|
6
|
+
}) });
|
|
11
7
|
export {
|
|
12
8
|
t as default
|
|
13
9
|
};
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import { defineComponent as e, ref as o, resolveComponent as r,
|
|
1
|
+
import { defineComponent as e, ref as o, resolveComponent as r, openBlock as n, createElementBlock as t, createElementVNode as a, withDirectives as l, normalizeStyle as i, toDisplayString as d, vShow as f, createBlock as h, createCommentVNode as s, createVNode as c, withCtx as I, unref as u } from "vue";
|
|
2
2
|
import { Search as p } from "@element-plus/icons-vue";
|
|
3
3
|
import g from "./common-chart-header-group.vue.js";
|
|
4
4
|
import m from "./common-chart-header-breadcrumb.vue.js";
|
|
5
5
|
import b from "./common-homepage-search.vue.js";
|
|
6
|
-
import { setVariableValueWithProp as v, getValueFromSource as y, setValueForVariableName as
|
|
7
|
-
const
|
|
6
|
+
import { setVariableValueWithProp as v, getValueFromSource as y, setValueForVariableName as w } from "../../../../utils/page-helper-util.js";
|
|
7
|
+
const x = { class: "amb-widget-chart-header" }, O = { class: "amb-widget-chart-header-item" }, k = { class: "amb-widget-chart-header-item amb-widget-chart-header-center" }, j = { class: "amb-widget-chart-header-item" }, C = { key: 0, class: "amb-widget-chart-header-item" }, P = e({ __name: "common-chart-header", props: { headerInfo: { type: Object, required: true }, configure: { type: Object, required: true }, pageContext: { type: Object, required: true } }, emits: ["drill-end"], setup(e2, { expose: P2, emit: _ }) {
|
|
8
8
|
const N = e2, D = o(null), A = o(), R = _;
|
|
9
9
|
function S(e3) {
|
|
10
10
|
const o2 = N.headerInfo.drillOptions.length;
|
|
11
|
-
if (e3 >= o2)
|
|
12
|
-
else {
|
|
11
|
+
if (!(e3 >= o2)) {
|
|
13
12
|
for (let r2 = o2 - 1; r2 >= e3; r2--) N.headerInfo.drillOptions.splice(r2, 1);
|
|
14
13
|
q(e3);
|
|
15
14
|
}
|
|
@@ -35,7 +34,7 @@ const w = { class: "amb-widget-chart-header" }, x = { class: "amb-widget-chart-h
|
|
|
35
34
|
for (let e4 of o2.variables) {
|
|
36
35
|
if (!e4.fieldName || !e4.variable) continue;
|
|
37
36
|
const o3 = y(r2, e4.fieldName, void 0);
|
|
38
|
-
|
|
37
|
+
w(N.pageContext.entity, e4.variable, o3);
|
|
39
38
|
}
|
|
40
39
|
}
|
|
41
40
|
N.headerInfo.drillOptions || (N.headerInfo.drillOptions = []);
|
|
@@ -47,12 +46,11 @@ const w = { class: "amb-widget-chart-header" }, x = { class: "amb-widget-chart-h
|
|
|
47
46
|
if (r2 + 1 >= N.headerInfo.options.length) {
|
|
48
47
|
return F(o2 && e3.dataIndex < o2.length ? o2[e3.dataIndex] : void 0), void R("drill-end", e3);
|
|
49
48
|
}
|
|
50
|
-
N.headerInfo.options;
|
|
51
49
|
const n2 = N.headerInfo.options[r2], t2 = o2 && e3.dataIndex < o2.length ? o2[e3.dataIndex] : null, a2 = { fieldName: n2.target ? n2.target.replace(".", "_") : "", rawFieldName: n2.target ? n2.target : "", label: e3.name, value: e3.name, data: t2 };
|
|
52
50
|
N.headerInfo.drillOptions.push(a2), q(r2 + 1);
|
|
53
51
|
}, closeDrill: S }), (o2, v2) => {
|
|
54
|
-
const y2 = r("el-icon"),
|
|
55
|
-
return
|
|
52
|
+
const y2 = r("el-icon"), w2 = r("el-tooltip");
|
|
53
|
+
return n(), t("div", x, [a("div", O, [l(a("label", { style: i(e2.headerInfo.style) }, d(e2.headerInfo.title) + " ", 5), [[f, e2.headerInfo.title && (!e2.headerInfo.textAlign || "left" == e2.headerInfo.textAlign)]]), !e2.headerInfo.showDrill || e2.headerInfo.groupPosition && "left" != e2.headerInfo.groupPosition ? s("", true) : (n(), h(m, { key: 0, ref_key: "drillObjRef", ref: D, headerInfo: e2.headerInfo, onCloseDrill: S }, null, 8, ["headerInfo"])), !e2.headerInfo.showGroup || e2.headerInfo.groupPosition && "left" != e2.headerInfo.groupPosition ? s("", true) : (n(), h(g, { key: 1, headerInfo: e2.headerInfo }, null, 8, ["headerInfo"]))]), a("div", k, [l(a("label", { style: i(e2.headerInfo.style) }, d(e2.headerInfo.title) + " ", 5), [[f, e2.headerInfo.title && "center" == e2.headerInfo.textAlign]]), e2.headerInfo.showDrill && "center" == e2.headerInfo.groupPosition ? (n(), h(m, { key: 0, headerInfo: e2.headerInfo, onCloseDrill: S, ref_key: "drillObjRef", ref: D }, null, 8, ["headerInfo"])) : s("", true), e2.headerInfo.showGroup && "center" == e2.headerInfo.groupPosition ? (n(), h(g, { key: 1, headerInfo: e2.headerInfo }, null, 8, ["headerInfo"])) : s("", true)]), a("div", j, [l(a("label", { style: i(e2.headerInfo.style) }, d(e2.headerInfo.title) + " ", 5), [[f, e2.headerInfo.title && "right" == e2.headerInfo.textAlign]]), e2.headerInfo.showDrill && "right" == e2.headerInfo.groupPosition ? (n(), h(m, { key: 0, headerInfo: e2.headerInfo, onCloseDrill: S, ref_key: "drillObjRef", ref: D }, null, 8, ["headerInfo"])) : s("", true), e2.headerInfo.showGroup && "right" == e2.headerInfo.groupPosition ? (n(), h(g, { key: 1, headerInfo: e2.headerInfo }, null, 8, ["headerInfo"])) : s("", true)]), e2.pageContext.showHomepageSearch ? (n(), t("div", C, [c(w2, { content: "打开查询弹窗", effect: "light" }, { default: I(() => [c(y2, { onClick: G }, { default: I(() => [c(u(p))]), _: 1 })]), _: 1 }), c(b, { ref_key: "commonHomepageSearchRef", ref: A, configure: e2.configure, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"])])) : s("", true)]);
|
|
56
54
|
};
|
|
57
55
|
} });
|
|
58
56
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, onMounted as i, onUnmounted as o, resolveComponent as l,
|
|
1
|
+
import { defineComponent as e, ref as t, onMounted as i, onUnmounted as o, resolveComponent as l, openBlock as a, createBlock as r, withCtx as n, createElementVNode as u, createVNode as s, createTextVNode as p, createCommentVNode as c, createElementBlock as g, Fragment as m, renderList as d } from "vue";
|
|
2
2
|
import f from "../../object-render.vue.js";
|
|
3
3
|
import { updateChartDatasources as v, getValueFromVariable as h } from "../../../../utils/page-helper-util.js";
|
|
4
4
|
import { ElLoading as y, ElMessage as C } from "element-plus";
|
|
@@ -56,7 +56,7 @@ const S = { style: { overflow: "auto", height: "calc(100vh - 140px)" }, ref: "di
|
|
|
56
56
|
_.value = true, k.value = N.configure.pushHomepage.searchConditions;
|
|
57
57
|
} }), (t2, i2) => {
|
|
58
58
|
const o2 = l("el-empty"), v2 = l("el-form"), h2 = l("el-button"), y2 = l("el-dialog");
|
|
59
|
-
return
|
|
59
|
+
return a(), r(y2, { modelValue: _.value, "onUpdate:modelValue": i2[0] || (i2[0] = (e3) => _.value = e3), title: "筛选", close: w, "append-to-body": "", fullscreen: "", top: "40vh", append: "", width: "70%", draggable: "" }, { default: n(() => [u("div", S, [k.value && 0 !== k.value.length ? c("", true) : (a(), r(o2, { key: 0, description: "未设置筛选条件", "image-size": 50 })), (a(), r(v2, { key: j.value }, { default: n(() => [(a(true), g(m, null, d(k.value, (t3) => (a(), r(f, { key: t3.uuid, configure: t3, pageContext: e2.pageContext }, null, 8, ["configure", "pageContext"]))), 128))]), _: 1 }))], 512)]), footer: n(() => [u("div", O, [s(h2, { type: "primary", onClick: T }, { default: n(() => [...i2[1] || (i2[1] = [p(" 确定 ", -1)])]), _: 1 }), s(h2, { type: "default", onClick: H }, { default: n(() => [...i2[2] || (i2[2] = [p("重置", -1)])]), _: 1 }), s(h2, { type: "primary", onClick: A }, { default: n(() => [...i2[3] || (i2[3] = [p(" 保存为默认条件 ", -1)])]), _: 1 })])]), _: 1 }, 8, ["modelValue"]);
|
|
60
60
|
};
|
|
61
61
|
} });
|
|
62
62
|
export {
|
package/dist/es/components/runtime/views/assemblys/chart/common/home-chart-condition-render.vue.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as e, ref as t, markRaw as i, onUnmounted as n, resolveComponent as a, resolveDirective as l, withDirectives as o,
|
|
1
|
+
import { defineComponent as e, ref as t, markRaw as i, onUnmounted as n, resolveComponent as a, resolveDirective as l, withDirectives as o, openBlock as u, createElementBlock as r, createElementVNode as s, createBlock as p, createCommentVNode as c, withCtx as v, Fragment as f, renderList as g, unref as m, createVNode as d, createTextVNode as h, resolveDynamicComponent as y } from "vue";
|
|
2
2
|
import { deepCopy as C } from "../../../../utils/common-util.js";
|
|
3
3
|
import b from "agilebuilder-ui/src/utils/request";
|
|
4
4
|
import { updateOptionDatasources as k, updateChartDatasources as x, setValueForVariableName as S, setVariableValue as j, getFormPropName as O, getValueFromVariable as w } from "../../../../utils/page-helper-util.js";
|
|
5
|
-
import { initPageEvents as _, isShowComponent as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import { getRuntimeComponentByName as
|
|
5
|
+
import { initPageEvents as _, isShowComponent as J } from "../../../../utils/events/event-util.js";
|
|
6
|
+
import N from "../../object-render.vue.js";
|
|
7
|
+
import U from "../../error-render.vue.js";
|
|
8
|
+
import { getRuntimeComponentByName as H } from "../../../../utils/assemblys-config.js";
|
|
9
9
|
import { addComponentRef as V, addComponentRefByCode as A } from "../../../../utils/global-refs.js";
|
|
10
10
|
import { getDefaultValue as E, controlObjectRenderState as P } from "../../../../utils/page-init-util.js";
|
|
11
11
|
import { ElLoading as D } from "element-plus";
|
|
@@ -68,15 +68,15 @@ const $ = { "element-loading-text": "加载中..." }, q = { style: { overflow: "
|
|
|
68
68
|
if (e3 && e3.designJson) {
|
|
69
69
|
L.value = {};
|
|
70
70
|
const n2 = JSON.parse(e3.designJson), a2 = window.frameElement;
|
|
71
|
-
L.value = n2.chartJson, a2 && (
|
|
71
|
+
L.value = n2.chartJson, a2 && (L.value.runtime.common.style.pc_style.height = a2.clientHeight + "px");
|
|
72
72
|
const l2 = { isTest: true, showHomepageSearch: false, name: e3.pageName, code: e3.pageCode, label: "", dimensions: "", version: 1, isWorkflowEntity: false, variables: n2.variables, systemCode: e3.systemCode, uuid: e3.uuid, allChartUuids: [], backendUrl: e3.backendUrl, rules: {}, pageType: "chart", beanName: n2.beanName, initChartServiceConfigs: [n2.initChartServiceConfigs], entity: { data: {}, task: {}, request: {}, page: {}, context: e3.contextParam, system: e3.systemParam } };
|
|
73
73
|
if (z.value = ((_a = L.value.pushHomepage) == null ? void 0 : _a.searchConditions) || [], n2.variables) {
|
|
74
74
|
const e4 = l2.entity.page;
|
|
75
75
|
for (const t2 of n2.variables) t2.name && (t2.isArrayElement ? e4[t2.name] = [] : t2.defaultValue ? e4[t2.name] = t2.defaultValue : e4[t2.name] = void 0);
|
|
76
76
|
}
|
|
77
|
-
n2.initOptionConfigs && n2.initOptionConfigs.length > 0 && k(l2, n2.initOptionConfigs, void 0), Z(l2), M.value = i(
|
|
77
|
+
n2.initOptionConfigs && n2.initOptionConfigs.length > 0 && k(l2, n2.initOptionConfigs, void 0), Z(l2), M.value = i(H(L.value.name));
|
|
78
78
|
const o2 = t(true);
|
|
79
|
-
null == M.value && (M.value =
|
|
79
|
+
null == M.value && (M.value = U, o2.value = false), _(n2, l2), R.value = l2, G.value = true, X.value = JSON.parse(JSON.stringify(R.value.entity)), function(e4, t2) {
|
|
80
80
|
if (!t2 || 0 == t2.length) return;
|
|
81
81
|
e4.initChartData = {}, e4.initChartData.data = C(e4.entity.data), e4.initChartData.page = C(e4.entity.page), t2 && t2.length > 0 && x(e4, t2, null, true);
|
|
82
82
|
}(R.value, [n2.initChartServiceConfigs]);
|
|
@@ -86,7 +86,7 @@ const $ = { "element-loading-text": "加载中..." }, q = { style: { overflow: "
|
|
|
86
86
|
}), n(() => {
|
|
87
87
|
}), (e3, t2) => {
|
|
88
88
|
const i2 = a("el-empty"), n2 = a("el-button"), C2 = a("el-col"), b2 = a("el-form"), k2 = l("loading");
|
|
89
|
-
return o((
|
|
89
|
+
return o((u(), r("div", $, [s("div", q, [z.value && 0 !== z.value.length ? c("", true) : (u(), p(i2, { key: 0, description: "未设置筛选条件", "image-size": 50 })), (u(), p(b2, { key: K.value }, { default: v(() => [(u(true), r(f, null, g(z.value, (e4) => (u(), p(N, { key: e4.uuid, configure: e4, pageContext: m(R) }, null, 8, ["configure", "pageContext"]))), 128)), d(C2, { span: 24, style: { "text-align": "right", margin: "10px 0" } }, { default: v(() => [d(n2, { type: "primary", onClick: ee }, { default: v(() => [...t2[0] || (t2[0] = [h("查询", -1)])]), _: 1 }), d(n2, { type: "default", onClick: te }, { default: v(() => [...t2[1] || (t2[1] = [h("重置", -1)])]), _: 1 }), d(n2, { type: "primary", onClick: ie }, { default: v(() => [...t2[2] || (t2[2] = [h("保存为默认条件", -1)])]), _: 1 })]), _: 1 })]), _: 1 })), G.value && m(J)(L.value) ? (u(), p(y(M.value), { key: 1, ref: Y, style: { width: "100%", height: "300px" }, configure: L.value, pageContext: m(R) }, null, 8, ["configure", "pageContext"])) : c("", true)], 512)])), [[k2, B.value]]);
|
|
90
90
|
};
|
|
91
91
|
} });
|
|
92
92
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as e, ref as r, onMounted as t, watch as o,
|
|
1
|
+
import { defineComponent as e, ref as r, onMounted as t, watch as o, openBlock as a, createElementBlock as n, normalizeClass as s, unref as u, normalizeStyle as i, withDirectives as c, createVNode as p, vShow as m } from "vue";
|
|
2
2
|
import { getCustomTheme as f, initChartOption as h, exportCommonChart as l } from "../../../../utils/charts/chart-util.js";
|
|
3
3
|
import { getChartDatasFromPage as g, updateChartDatasources as d, monitorFieldChange as x } from "../../../../utils/page-helper-util.js";
|
|
4
4
|
import { updateChartOption as C } from "../../../../utils/charts/chart-gauge-util.js";
|
|
@@ -28,7 +28,7 @@ const k = e({ __name: "gauge-runtime", props: { pageContext: {}, configure: {} }
|
|
|
28
28
|
}
|
|
29
29
|
return x(A.pageContext, K, J), k2({ updateChartDatas: L, exportChart: function() {
|
|
30
30
|
return l(O.value, T);
|
|
31
|
-
} }), (r2, t2) => (
|
|
31
|
+
} }), (r2, t2) => (a(), n("div", { style: i(u(F)), class: s([u(P), "amb-widget-chart amb-widget-flex amb-chart-container"]), ref_key: "thisRef", ref: H }, [c(p(v, { ref_key: "headerRef", ref: z, headerInfo: u(T), configure: e2.configure, pageContext: e2.pageContext, class: "amb-chart-header" }, null, 8, ["headerInfo", "configure", "pageContext"]), [[m, u(T).showHeader || e2.pageContext.showHomepageSearch]]), p(u(I), { ref_key: "chartRef", ref: O, class: "amb-chart-content", theme: u(E), option: u(q), autoresize: "" }, null, 8, ["theme", "option"])], 6));
|
|
32
32
|
} });
|
|
33
33
|
export {
|
|
34
34
|
k as default
|