super-page-runtime 1.0.1 → 1.0.3
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/api-util.js +3 -3
- package/dist/es/components/runtime/utils/assemblys-config.js +1 -1
- package/dist/es/components/runtime/utils/common-util.js +2 -2
- package/dist/es/components/runtime/utils/eventBus.js +1 -1
- package/dist/es/components/runtime/utils/events/event-util.js +3 -3
- package/dist/es/components/runtime/utils/events/standard-event.js +6 -6
- package/dist/es/components/runtime/utils/events/validator-util.js +3 -3
- package/dist/es/components/runtime/utils/global-refs.js +1 -1
- package/dist/es/components/runtime/utils/page-helper-util.js +3 -3
- package/dist/es/components/runtime/utils/page-init-util.js +2 -2
- package/dist/es/components/runtime/utils/table-utils.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +6 -6
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +6 -6
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +6 -6
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +6 -6
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +6 -6
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +3 -3
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +1 -1
- 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 +1 -1
- package/dist/es/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +5 -5
- package/dist/es/components/runtime/views/assemblys/error-render.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +4 -4
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +2 -2
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +3 -3
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/assemblys/object-render.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +1 -1
- package/dist/es/components/runtime/views/super-page.vue.js +6 -6
- package/dist/es/components/super-page-dialog/super-page-dialog.vue.js +2 -1
- package/dist/es/components/wf-editor/wf-editor.vue.js +1 -1
- package/dist/lib/components/runtime/utils/api/api-util.js +10 -10
- package/dist/lib/components/runtime/utils/assemblys-config.js +35 -35
- package/dist/lib/components/runtime/utils/common-util.js +4 -4
- package/dist/lib/components/runtime/utils/eventBus.js +1 -1
- package/dist/lib/components/runtime/utils/events/event-util.js +8 -8
- package/dist/lib/components/runtime/utils/events/standard-event.js +66 -66
- package/dist/lib/components/runtime/utils/events/validator-util.js +14 -14
- package/dist/lib/components/runtime/utils/global-refs.js +1 -1
- package/dist/lib/components/runtime/utils/page-helper-util.js +4 -4
- package/dist/lib/components/runtime/utils/page-init-util.js +3 -3
- package/dist/lib/components/runtime/utils/table-utils.js +1 -1
- package/dist/lib/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +31 -31
- package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +9 -9
- package/dist/lib/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +41 -41
- package/dist/lib/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +24 -24
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +21 -21
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +22 -22
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +22 -22
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +23 -23
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.js +21 -21
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.js +30 -30
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.js +27 -27
- package/dist/lib/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +20 -20
- package/dist/lib/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +25 -25
- package/dist/lib/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +26 -26
- package/dist/lib/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +13 -13
- package/dist/lib/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +12 -12
- package/dist/lib/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +6 -6
- package/dist/lib/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +23 -23
- package/dist/lib/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +12 -12
- package/dist/lib/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +26 -26
- package/dist/lib/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +15 -15
- package/dist/lib/components/runtime/views/assemblys/data/table/table-runtime.vue2.js +11 -11
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.js +3 -3
- package/dist/lib/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +24 -24
- package/dist/lib/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +39 -39
- package/dist/lib/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +27 -27
- package/dist/lib/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +12 -12
- package/dist/lib/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +23 -23
- package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +25 -25
- package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +58 -58
- package/dist/lib/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +42 -42
- package/dist/lib/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +25 -25
- package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +8 -8
- package/dist/lib/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +25 -25
- package/dist/lib/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +28 -28
- package/dist/lib/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +41 -41
- package/dist/lib/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +24 -24
- package/dist/lib/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +21 -21
- package/dist/lib/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +25 -25
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.js +18 -18
- package/dist/lib/components/runtime/views/assemblys/workflow/workflow-button/workflowbutton-runtime.vue2.js +9 -9
- package/dist/lib/components/runtime/views/super-page.vue.js +60 -60
- package/dist/lib/components/super-page-dialog/super-page-dialog.vue.js +15 -14
- package/dist/lib/components/wf-editor/wf-editor.vue.js +4 -4
- package/package.json +1 -1
- package/dist/es/components/runtime/index.d.ts +0 -3
- package/dist/es/components/runtime/utils/api/api-util.d.ts +0 -11
- package/dist/es/components/runtime/utils/common-util.d.ts +0 -11
- package/dist/es/components/runtime/utils/eventBus.d.ts +0 -7
- package/dist/es/components/runtime/utils/events/event-util.d.ts +0 -48
- package/dist/es/components/runtime/utils/events/standard-event.d.ts +0 -61
- package/dist/es/components/runtime/utils/events/validator-util.d.ts +0 -4
- package/dist/es/components/runtime/utils/global-refs.d.ts +0 -59
- package/dist/es/components/runtime/utils/interfaces/page-design-types.d.ts +0 -221
- package/dist/es/components/runtime/utils/page-helper-util.d.ts +0 -87
- package/dist/es/components/runtime/utils/page-init-util.d.ts +0 -38
- package/dist/es/components/runtime/utils/store-util.d.ts +0 -15
- package/dist/es/components/runtime/utils/store.d.ts +0 -2
- package/dist/es/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -24
- package/dist/es/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -35
- package/dist/es/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -26
- package/dist/es/components/runtime/views/assemblys/error-render.vue.d.ts +0 -22
- package/dist/es/components/runtime/views/assemblys/object-render.vue.d.ts +0 -17
- package/dist/es/components/runtime/views/super-page.vue.d.ts +0 -91
- package/dist/es/components/super-page-dialog/index.d.ts +0 -3
- package/dist/es/components/super-page-dialog/super-page-dialog.vue.d.ts +0 -36
- package/dist/es/components/wf-editor/index.d.ts +0 -3
- package/dist/es/components/wf-editor/wf-editor.vue.d.ts +0 -2
- package/dist/es/index.d.ts +0 -5
- package/dist/lib/components/runtime/index.d.ts +0 -3
- package/dist/lib/components/runtime/utils/api/api-util.d.ts +0 -11
- package/dist/lib/components/runtime/utils/common-util.d.ts +0 -11
- package/dist/lib/components/runtime/utils/eventBus.d.ts +0 -7
- package/dist/lib/components/runtime/utils/events/event-util.d.ts +0 -48
- package/dist/lib/components/runtime/utils/events/standard-event.d.ts +0 -61
- package/dist/lib/components/runtime/utils/events/validator-util.d.ts +0 -4
- package/dist/lib/components/runtime/utils/global-refs.d.ts +0 -59
- package/dist/lib/components/runtime/utils/interfaces/page-design-types.d.ts +0 -221
- package/dist/lib/components/runtime/utils/page-helper-util.d.ts +0 -87
- package/dist/lib/components/runtime/utils/page-init-util.d.ts +0 -38
- package/dist/lib/components/runtime/utils/store-util.d.ts +0 -15
- package/dist/lib/components/runtime/utils/store.d.ts +0 -2
- package/dist/lib/components/runtime/views/assemblys/common/export-form-report-dialog.vue.d.ts +0 -24
- package/dist/lib/components/runtime/views/assemblys/common/remove-signer-dialog.vue.d.ts +0 -35
- package/dist/lib/components/runtime/views/assemblys/common/task-informition-dialog.vue.d.ts +0 -26
- package/dist/lib/components/runtime/views/assemblys/error-render.vue.d.ts +0 -22
- package/dist/lib/components/runtime/views/assemblys/object-render.vue.d.ts +0 -17
- package/dist/lib/components/runtime/views/super-page.vue.d.ts +0 -91
- package/dist/lib/components/super-page-dialog/index.d.ts +0 -3
- package/dist/lib/components/super-page-dialog/super-page-dialog.vue.d.ts +0 -36
- package/dist/lib/components/wf-editor/index.d.ts +0 -3
- package/dist/lib/components/wf-editor/wf-editor.vue.d.ts +0 -2
- package/dist/lib/index.d.ts +0 -5
- package/dist/super-page-runtime.umd.js +0 -213932
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const commonUtil = require("../common-util.js");
|
|
4
|
-
const http = require("
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
4
|
+
const http = require("agilebuilder-ui/src/utils/request");
|
|
5
|
+
const util = require("agilebuilder-ui/src/utils/util");
|
|
6
|
+
const elementPlus = require("element-plus");
|
|
7
|
+
const vueRouter = require("vue-router");
|
|
8
|
+
const auth = require("agilebuilder-ui/src/utils/auth");
|
|
9
9
|
const globalRefs = require("../global-refs.js");
|
|
10
10
|
const eventBus = require("../eventBus.js");
|
|
11
|
-
const axios = require("
|
|
11
|
+
const axios = require("axios");
|
|
12
12
|
const eventUtil = require("./event-util.js");
|
|
13
13
|
const storeUtil = require("../store-util.js");
|
|
14
14
|
const standardEvents = {
|
|
@@ -252,7 +252,7 @@ function exportFormReportSuccess(fileName, system, param) {
|
|
|
252
252
|
return new Promise((resolve, reject) => {
|
|
253
253
|
const baseUrl = commonUtil.getBaseUrl(system);
|
|
254
254
|
const path = baseUrl + "/dsc/commons/export-reports";
|
|
255
|
-
axios.defaults.headers.common.Authorization =
|
|
255
|
+
axios.defaults.headers.common.Authorization = auth.getToken();
|
|
256
256
|
const request = axios.post(path, param, {
|
|
257
257
|
headers: {
|
|
258
258
|
"content-type": "application/x-www-form-urlencoded"
|
|
@@ -284,7 +284,7 @@ function exportFormPdf(fileName, system, param) {
|
|
|
284
284
|
return new Promise((resolve, reject) => {
|
|
285
285
|
const baseUrl = commonUtil.getBaseUrl(system);
|
|
286
286
|
const path = baseUrl + "/dsc/commons/export-pdf";
|
|
287
|
-
axios.defaults.headers.common.Authorization =
|
|
287
|
+
axios.defaults.headers.common.Authorization = auth.getToken();
|
|
288
288
|
const request = axios.post(path, param, {
|
|
289
289
|
headers: {
|
|
290
290
|
"content-type": "application/x-www-form-urlencoded"
|
|
@@ -458,8 +458,8 @@ function dealAfterWithForm(pageContext, configureObj, data, successTip) {
|
|
|
458
458
|
afterSuccessOperateInForm(pageContext, configureObj, dataModel);
|
|
459
459
|
}
|
|
460
460
|
if (successTip) {
|
|
461
|
-
|
|
462
|
-
message:
|
|
461
|
+
elementPlus.ElMessage({
|
|
462
|
+
message: util.getI18n().t(successTip),
|
|
463
463
|
type: "success",
|
|
464
464
|
showClose: true
|
|
465
465
|
});
|
|
@@ -485,9 +485,9 @@ function afterSuccessOperateInForm(pageContext, configureObj, dataModel) {
|
|
|
485
485
|
} else if (successOperation === "refresh") {
|
|
486
486
|
if (dataModel && (dataModel.id || dataModel.ID)) {
|
|
487
487
|
const dataIdSessio = dataModel.ID == null ? dataModel.id : dataModel.ID;
|
|
488
|
-
const route =
|
|
488
|
+
const route = vueRouter.useRoute();
|
|
489
489
|
if (route.query._t_) {
|
|
490
|
-
|
|
490
|
+
auth.setSessionCache(route.query._t_ + "_id", dataIdSessio);
|
|
491
491
|
}
|
|
492
492
|
}
|
|
493
493
|
} else if (successOperation === "closeWindow" || successOperation === "closeWindowAndRefresh") {
|
|
@@ -511,8 +511,8 @@ function dealAfterWithList(pageContext, configureObj, row, successTip) {
|
|
|
511
511
|
}
|
|
512
512
|
}
|
|
513
513
|
if (successTip) {
|
|
514
|
-
|
|
515
|
-
message:
|
|
514
|
+
elementPlus.ElMessage({
|
|
515
|
+
message: util.getI18n().t(successTip),
|
|
516
516
|
type: "success",
|
|
517
517
|
showClose: true
|
|
518
518
|
});
|
|
@@ -562,12 +562,12 @@ function getSubmitFormRequest(pageContext, configureObj, url, isUnControlVersion
|
|
|
562
562
|
return new Promise((resolve, reject) => {
|
|
563
563
|
const buttonName = configureObj.props.base.title;
|
|
564
564
|
const operationI18nTip = "superPageRuntimeMessage.whetherToConfirm" + commonUtil.upperFirstCase(eventName);
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
565
|
+
elementPlus.ElMessageBox.confirm(
|
|
566
|
+
util.getI18n().t(operationI18nTip, { name: buttonName }),
|
|
567
|
+
util.getI18n().t("superPageRuntimeMessage.tips"),
|
|
568
568
|
{
|
|
569
|
-
confirmButtonText:
|
|
570
|
-
cancelButtonText:
|
|
569
|
+
confirmButtonText: util.getI18n().t("superPageRuntimeMessage.sure"),
|
|
570
|
+
cancelButtonText: util.getI18n().t("superPageRuntimeMessage.cancel"),
|
|
571
571
|
type: "warning"
|
|
572
572
|
}
|
|
573
573
|
).then(() => {
|
|
@@ -594,19 +594,19 @@ function deleteFunc(params) {
|
|
|
594
594
|
return new Promise((resolve, reject) => {
|
|
595
595
|
const ids = params.ids;
|
|
596
596
|
if (!ids || ids.length === 0) {
|
|
597
|
-
|
|
597
|
+
elementPlus.ElMessage({
|
|
598
598
|
showClose: true,
|
|
599
599
|
type: "warning",
|
|
600
|
-
message:
|
|
600
|
+
message: util.getI18n().t("superPageRuntimeMessage.pleaseSelectRecord")
|
|
601
601
|
});
|
|
602
602
|
return;
|
|
603
603
|
}
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
604
|
+
elementPlus.ElMessageBox.confirm(
|
|
605
|
+
util.getI18n().t("superPageRuntimeMessage.whetherToConfirmDeletion"),
|
|
606
|
+
util.getI18n().t("superPageRuntimeMessage.tips"),
|
|
607
607
|
{
|
|
608
|
-
confirmButtonText:
|
|
609
|
-
cancelButtonText:
|
|
608
|
+
confirmButtonText: util.getI18n().t("superPageRuntimeMessage.sure"),
|
|
609
|
+
cancelButtonText: util.getI18n().t("superPageRuntimeMessage.cancel"),
|
|
610
610
|
type: "warning"
|
|
611
611
|
}
|
|
612
612
|
).then(() => {
|
|
@@ -777,26 +777,26 @@ function doImportFinally(params, fileObj) {
|
|
|
777
777
|
path = commonUtil.getRealRestApiPath(path, system);
|
|
778
778
|
http.post(path, param).then((data) => {
|
|
779
779
|
if (isAsync) {
|
|
780
|
-
|
|
780
|
+
elementPlus.ElMessage({
|
|
781
781
|
showClose: true,
|
|
782
782
|
type: "success",
|
|
783
|
-
message:
|
|
783
|
+
message: util.getI18n().t("superPageRuntimeMessage.asyncImport")
|
|
784
784
|
});
|
|
785
785
|
} else {
|
|
786
786
|
let isSuccess = false;
|
|
787
787
|
if (data) {
|
|
788
788
|
isSuccess = false;
|
|
789
|
-
|
|
789
|
+
elementPlus.ElMessage({
|
|
790
790
|
dangerouslyUseHTMLString: true,
|
|
791
791
|
showClose: true,
|
|
792
792
|
type: "warning",
|
|
793
793
|
message: data
|
|
794
794
|
});
|
|
795
795
|
} else {
|
|
796
|
-
|
|
796
|
+
elementPlus.ElMessage({
|
|
797
797
|
showClose: true,
|
|
798
798
|
type: "success",
|
|
799
|
-
message:
|
|
799
|
+
message: util.getI18n().t("superPageRuntimeMessage.successfulImport")
|
|
800
800
|
});
|
|
801
801
|
isSuccess = true;
|
|
802
802
|
}
|
|
@@ -813,22 +813,22 @@ function judgeDataNumber(buttonConfigureObj, ids) {
|
|
|
813
813
|
if (buttonConfigureBase.conditionsForExecution && buttonConfigureBase.conditionsForExecution !== "") {
|
|
814
814
|
if (buttonConfigureBase.conditionsForExecution === "one") {
|
|
815
815
|
if (!ids || ids.length !== 1) {
|
|
816
|
-
|
|
816
|
+
elementPlus.ElMessage({
|
|
817
817
|
showClose: true,
|
|
818
818
|
type: "warning",
|
|
819
|
-
message:
|
|
820
|
-
message:
|
|
819
|
+
message: util.getI18n().t("superPageRuntimeMessage.thePreconditionOfTheButtonTo", {
|
|
820
|
+
message: util.getI18n().t("superPageRuntimeMessage.onlyOneRecordCanBeselected")
|
|
821
821
|
})
|
|
822
822
|
});
|
|
823
823
|
return false;
|
|
824
824
|
}
|
|
825
825
|
} else if (buttonConfigureBase.conditionsForExecution === "more") {
|
|
826
826
|
if (!ids || ids.length <= 0) {
|
|
827
|
-
|
|
827
|
+
elementPlus.ElMessage({
|
|
828
828
|
showClose: true,
|
|
829
829
|
type: "warning",
|
|
830
|
-
message:
|
|
831
|
-
message:
|
|
830
|
+
message: util.getI18n().t("superPageRuntimeMessage.thePreconditionOfTheButtonTo", {
|
|
831
|
+
message: util.getI18n().t("superPageRuntimeMessage.selectAtLeastOneRecord")
|
|
832
832
|
})
|
|
833
833
|
});
|
|
834
834
|
return false;
|
|
@@ -958,10 +958,10 @@ function workflowSaveFunc(params) {
|
|
|
958
958
|
let path = commonUtil.getBaseUrl(system) + "/dsc/workflow-commons";
|
|
959
959
|
path = commonUtil.getRealRestApiPath(path, system);
|
|
960
960
|
if (!path) {
|
|
961
|
-
|
|
961
|
+
elementPlus.ElMessage({
|
|
962
962
|
showClose: true,
|
|
963
963
|
type: "warning",
|
|
964
|
-
message:
|
|
964
|
+
message: util.getI18n().t("superPageRuntimeMessage.requestPathEmpty")
|
|
965
965
|
});
|
|
966
966
|
return;
|
|
967
967
|
}
|
|
@@ -978,10 +978,10 @@ function workflowSaveFunc(params) {
|
|
|
978
978
|
result = dealCompleteTaskParam(commonEntity, false, pageContext, params, null);
|
|
979
979
|
}
|
|
980
980
|
if (result === true) {
|
|
981
|
-
|
|
981
|
+
elementPlus.ElMessage({
|
|
982
982
|
showClose: true,
|
|
983
983
|
type: "success",
|
|
984
|
-
message:
|
|
984
|
+
message: util.getI18n().t("superPageRuntimeMessage.successfulSave")
|
|
985
985
|
});
|
|
986
986
|
}
|
|
987
987
|
resolve(true);
|
|
@@ -1006,7 +1006,7 @@ function dealCompleteTaskParam(commonEntity, isInit, pageContext, params, operat
|
|
|
1006
1006
|
const completeTaskTipType = completeTaskResult.completeTaskTipType;
|
|
1007
1007
|
if (completeTaskTipType && completeTaskTipType === "MESSAGE") {
|
|
1008
1008
|
const message = completeTaskResult.content;
|
|
1009
|
-
|
|
1009
|
+
elementPlus.ElMessage({
|
|
1010
1010
|
showClose: true,
|
|
1011
1011
|
type: "warning",
|
|
1012
1012
|
message
|
|
@@ -1043,10 +1043,10 @@ function submitProcessFunc(params) {
|
|
|
1043
1043
|
let path = commonUtil.getBaseUrl(system) + "/dsc/workflow-commons/submit";
|
|
1044
1044
|
path = commonUtil.getRealRestApiPath(path, system);
|
|
1045
1045
|
if (!path) {
|
|
1046
|
-
|
|
1046
|
+
elementPlus.ElMessage({
|
|
1047
1047
|
showClose: true,
|
|
1048
1048
|
type: "warning",
|
|
1049
|
-
message:
|
|
1049
|
+
message: util.getI18n().t("superPageRuntimeMessage.requestPathEmpty")
|
|
1050
1050
|
});
|
|
1051
1051
|
return;
|
|
1052
1052
|
}
|
|
@@ -1059,10 +1059,10 @@ function submitProcessFunc(params) {
|
|
|
1059
1059
|
result = dealCompleteTaskParam(commonEntity, false, pageContext, params, null);
|
|
1060
1060
|
}
|
|
1061
1061
|
if (result === true) {
|
|
1062
|
-
|
|
1062
|
+
elementPlus.ElMessage({
|
|
1063
1063
|
showClose: true,
|
|
1064
1064
|
type: "success",
|
|
1065
|
-
message:
|
|
1065
|
+
message: util.getI18n().t("superPageRuntimeMessage.successfulSubmit")
|
|
1066
1066
|
});
|
|
1067
1067
|
}
|
|
1068
1068
|
resolve(true);
|
|
@@ -1079,10 +1079,10 @@ function completeTaskFunc(params, operationResult) {
|
|
|
1079
1079
|
let path = commonUtil.getBaseUrl(system) + "/dsc/workflow-commons/complete-tasks";
|
|
1080
1080
|
path = commonUtil.getRealRestApiPath(path, system);
|
|
1081
1081
|
if (!path) {
|
|
1082
|
-
|
|
1082
|
+
elementPlus.ElMessage({
|
|
1083
1083
|
showClose: true,
|
|
1084
1084
|
type: "warning",
|
|
1085
|
-
message:
|
|
1085
|
+
message: util.getI18n().t("superPageRuntimeMessage.requestPathEmpty")
|
|
1086
1086
|
});
|
|
1087
1087
|
return;
|
|
1088
1088
|
}
|
|
@@ -1099,10 +1099,10 @@ function completeTaskFunc(params, operationResult) {
|
|
|
1099
1099
|
result = dealCompleteTaskParam(commonEntity, false, pageContext, params, operationResult);
|
|
1100
1100
|
}
|
|
1101
1101
|
if (result === true) {
|
|
1102
|
-
|
|
1102
|
+
elementPlus.ElMessage({
|
|
1103
1103
|
showClose: true,
|
|
1104
1104
|
type: "success",
|
|
1105
|
-
message:
|
|
1105
|
+
message: util.getI18n().t("superPageRuntimeMessage.successfulCompleteTask")
|
|
1106
1106
|
});
|
|
1107
1107
|
}
|
|
1108
1108
|
resolve(true);
|
|
@@ -1171,10 +1171,10 @@ function doAddSigner(params, selectNodeInfo) {
|
|
|
1171
1171
|
let path = commonUtil.getBaseUrl(system) + "/dsc/workflow-commons/add-signers";
|
|
1172
1172
|
path = commonUtil.getRealRestApiPath(path, system);
|
|
1173
1173
|
if (!path) {
|
|
1174
|
-
|
|
1174
|
+
elementPlus.ElMessage({
|
|
1175
1175
|
showClose: true,
|
|
1176
1176
|
type: "warning",
|
|
1177
|
-
message:
|
|
1177
|
+
message: util.getI18n().t("superPageRuntimeMessage.requestPathEmpty")
|
|
1178
1178
|
});
|
|
1179
1179
|
return;
|
|
1180
1180
|
}
|
|
@@ -1183,10 +1183,10 @@ function doAddSigner(params, selectNodeInfo) {
|
|
|
1183
1183
|
const request = http.post(path, requestParams);
|
|
1184
1184
|
if (request) {
|
|
1185
1185
|
request.then((commonEntity) => {
|
|
1186
|
-
|
|
1186
|
+
elementPlus.ElMessage({
|
|
1187
1187
|
showClose: true,
|
|
1188
1188
|
type: "success",
|
|
1189
|
-
message:
|
|
1189
|
+
message: util.getI18n().t("superPageRuntimeMessage.successfulOperation")
|
|
1190
1190
|
});
|
|
1191
1191
|
if (commonEntity.entity) {
|
|
1192
1192
|
dealAfterOperate(pageContext, buttonConfigureObj, commonEntity, null, false);
|
|
@@ -1210,10 +1210,10 @@ function doCreateCopyTask(params, selectNodeInfo) {
|
|
|
1210
1210
|
let path = commonUtil.getBaseUrl(system) + "/dsc/workflow-commons/add-signers";
|
|
1211
1211
|
path = commonUtil.getRealRestApiPath(path, system);
|
|
1212
1212
|
if (!path) {
|
|
1213
|
-
|
|
1213
|
+
elementPlus.ElMessage({
|
|
1214
1214
|
showClose: true,
|
|
1215
1215
|
type: "warning",
|
|
1216
|
-
message:
|
|
1216
|
+
message: util.getI18n().t("superPageRuntimeMessage.requestPathEmpty")
|
|
1217
1217
|
});
|
|
1218
1218
|
return;
|
|
1219
1219
|
}
|
|
@@ -1222,10 +1222,10 @@ function doCreateCopyTask(params, selectNodeInfo) {
|
|
|
1222
1222
|
const request = http.post(path, requestParams);
|
|
1223
1223
|
if (request) {
|
|
1224
1224
|
request.then((commonEntity) => {
|
|
1225
|
-
|
|
1225
|
+
elementPlus.ElMessage({
|
|
1226
1226
|
showClose: true,
|
|
1227
1227
|
type: "success",
|
|
1228
|
-
message:
|
|
1228
|
+
message: util.getI18n().t("superPageRuntimeMessage.successfulOperation")
|
|
1229
1229
|
});
|
|
1230
1230
|
eventUtil.doAfterClickEvent(pageContext, buttonConfigureObj);
|
|
1231
1231
|
});
|
|
@@ -1238,10 +1238,10 @@ function transactTask(params, requestParam, path, successMessageTip) {
|
|
|
1238
1238
|
const system = pageContext.entity.system;
|
|
1239
1239
|
path = commonUtil.getRealRestApiPath(path, system);
|
|
1240
1240
|
if (!path) {
|
|
1241
|
-
|
|
1241
|
+
elementPlus.ElMessage({
|
|
1242
1242
|
showClose: true,
|
|
1243
1243
|
type: "warning",
|
|
1244
|
-
message:
|
|
1244
|
+
message: util.getI18n().t("superPageRuntimeMessage.requestPathEmpty")
|
|
1245
1245
|
});
|
|
1246
1246
|
return;
|
|
1247
1247
|
}
|
|
@@ -1253,10 +1253,10 @@ function transactTask(params, requestParam, path, successMessageTip) {
|
|
|
1253
1253
|
result = dealCompleteTaskParam(commonEntity, false, pageContext, params, null);
|
|
1254
1254
|
}
|
|
1255
1255
|
if (result === true) {
|
|
1256
|
-
|
|
1256
|
+
elementPlus.ElMessage({
|
|
1257
1257
|
showClose: true,
|
|
1258
1258
|
type: "success",
|
|
1259
|
-
message:
|
|
1259
|
+
message: util.getI18n().t(successMessageTip)
|
|
1260
1260
|
});
|
|
1261
1261
|
}
|
|
1262
1262
|
resolve(true);
|
|
@@ -1317,10 +1317,10 @@ function getTaskInformitions(params) {
|
|
|
1317
1317
|
let path = commonUtil.getBaseUrl(system) + "/dsc/workflow-commons/returnable-task/" + completeTaskParam.taskId;
|
|
1318
1318
|
path = commonUtil.getRealRestApiPath(path, system);
|
|
1319
1319
|
if (!path) {
|
|
1320
|
-
|
|
1320
|
+
elementPlus.ElMessage({
|
|
1321
1321
|
showClose: true,
|
|
1322
1322
|
type: "warning",
|
|
1323
|
-
message:
|
|
1323
|
+
message: util.getI18n().t("superPageRuntimeMessage.requestPathEmpty")
|
|
1324
1324
|
});
|
|
1325
1325
|
return;
|
|
1326
1326
|
}
|
|
@@ -1365,10 +1365,10 @@ function getRemoveSigner(params) {
|
|
|
1365
1365
|
const requestParam = getWorkflowSaveParams(params);
|
|
1366
1366
|
path = commonUtil.getRealRestApiPath(path, system);
|
|
1367
1367
|
if (!path) {
|
|
1368
|
-
|
|
1368
|
+
elementPlus.ElMessage({
|
|
1369
1369
|
showClose: true,
|
|
1370
1370
|
type: "warning",
|
|
1371
|
-
message:
|
|
1371
|
+
message: util.getI18n().t("superPageRuntimeMessage.requestPathEmpty")
|
|
1372
1372
|
});
|
|
1373
1373
|
return;
|
|
1374
1374
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const Validator = require("
|
|
4
|
-
const
|
|
3
|
+
const Validator = require("async-validator");
|
|
4
|
+
const elementPlus = require("element-plus");
|
|
5
5
|
const globalRefs = require("../global-refs.js");
|
|
6
|
-
const
|
|
6
|
+
const util = require("agilebuilder-ui/src/utils/util");
|
|
7
7
|
function setObjectPropRule(prop, rules, leafRule) {
|
|
8
8
|
const rule = {};
|
|
9
9
|
if (!rules) {
|
|
@@ -138,11 +138,11 @@ function validatorEntity(entity, rules, columns, rowIndex, isShouldRepeateValdat
|
|
|
138
138
|
result = errors[0].message;
|
|
139
139
|
fieldName = errors[0]["field"];
|
|
140
140
|
if (typeof rowIndex !== "undefined" && rowIndex !== null) {
|
|
141
|
-
result =
|
|
141
|
+
result = util.getI18n().t("superPageRuntimeMessage.recordLine", {
|
|
142
142
|
row: rowIndex + 1
|
|
143
143
|
}) + "," + result;
|
|
144
144
|
}
|
|
145
|
-
|
|
145
|
+
elementPlus.ElMessage({
|
|
146
146
|
message: result,
|
|
147
147
|
showClose: true,
|
|
148
148
|
type: "warning",
|
|
@@ -224,7 +224,7 @@ function validateWorkflowFormDataModel(dataModel, pageContext, customRules) {
|
|
|
224
224
|
);
|
|
225
225
|
}
|
|
226
226
|
if (result !== true) {
|
|
227
|
-
|
|
227
|
+
elementPlus.ElMessage({
|
|
228
228
|
showClose: true,
|
|
229
229
|
message: result + "",
|
|
230
230
|
type: "warning"
|
|
@@ -279,12 +279,12 @@ function validateCommonFormDataModel(dataModel, pageContext, rules, customRules)
|
|
|
279
279
|
} else {
|
|
280
280
|
reject(
|
|
281
281
|
new Error(
|
|
282
|
-
|
|
282
|
+
util.getI18n().t("superPageRuntimeMessage.tableListSubTableDataVerificationFailed")
|
|
283
283
|
).message
|
|
284
284
|
);
|
|
285
285
|
}
|
|
286
286
|
} else {
|
|
287
|
-
reject(new Error(
|
|
287
|
+
reject(new Error(util.getI18n().t("superPageRuntimeMessage.formDataVerificationFailed")).message);
|
|
288
288
|
}
|
|
289
289
|
}
|
|
290
290
|
});
|
|
@@ -346,28 +346,28 @@ function i18nValidateRulesMessage(rules) {
|
|
|
346
346
|
const propRules = rules[propName];
|
|
347
347
|
propRules.forEach((rule) => {
|
|
348
348
|
const label = rule["label"];
|
|
349
|
-
const i18nLabel =
|
|
349
|
+
const i18nLabel = util.getI18n().t(label);
|
|
350
350
|
if (rule["required"]) {
|
|
351
|
-
rule["message"] =
|
|
351
|
+
rule["message"] = util.getI18n().t("superPageRuntimeMessage.required", { label: i18nLabel });
|
|
352
352
|
}
|
|
353
353
|
if (rule["myType"]) {
|
|
354
|
-
rule["message"] =
|
|
354
|
+
rule["message"] = util.getI18n().t("superPageRuntimeMessage.formatMismatch", {
|
|
355
355
|
label: i18nLabel
|
|
356
356
|
});
|
|
357
357
|
}
|
|
358
358
|
if (rule["patternType"]) {
|
|
359
|
-
rule["message"] =
|
|
359
|
+
rule["message"] = util.getI18n().t("superPageRuntimeMessage.formatMismatch", {
|
|
360
360
|
label: i18nLabel
|
|
361
361
|
});
|
|
362
362
|
}
|
|
363
363
|
if (rule["max"] !== void 0 && rule["max"] !== null) {
|
|
364
|
-
rule["message"] =
|
|
364
|
+
rule["message"] = util.getI18n().t("superPageRuntimeMessage.overMaxLength", {
|
|
365
365
|
label: i18nLabel,
|
|
366
366
|
value: rule["max"]
|
|
367
367
|
});
|
|
368
368
|
}
|
|
369
369
|
if (rule["min"] !== void 0 && rule["min"] !== null) {
|
|
370
|
-
rule["message"] =
|
|
370
|
+
rule["message"] = util.getI18n().t("superPageRuntimeMessage.limitMinLength", {
|
|
371
371
|
label: i18nLabel,
|
|
372
372
|
value: rule["min"]
|
|
373
373
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
require("
|
|
3
|
+
require("vue");
|
|
4
4
|
if (!window["globalRefs"]) {
|
|
5
5
|
window["globalRefs"] = {};
|
|
6
6
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const http = require("
|
|
4
|
-
const dayjs = require("
|
|
5
|
-
const
|
|
3
|
+
const http = require("agilebuilder-ui/src/utils/request");
|
|
4
|
+
const dayjs = require("dayjs");
|
|
5
|
+
const calculatorUtil = require("agilebuilder-ui/src/utils/calculator/calculator-util");
|
|
6
6
|
const globalRefs = require("./global-refs.js");
|
|
7
7
|
function getTableQueryInfo(dataOriginInfo, pageContext2) {
|
|
8
8
|
const infoObj = {};
|
|
@@ -454,7 +454,7 @@ function caculateShowCondition(pageContext, configure, showConditions) {
|
|
|
454
454
|
}
|
|
455
455
|
if (conditionResult == void 0) {
|
|
456
456
|
try {
|
|
457
|
-
conditionResult =
|
|
457
|
+
conditionResult = calculatorUtil.executeExpression(leftValue, operator, propValue, dataType);
|
|
458
458
|
} catch (e) {
|
|
459
459
|
console.log("executeExpression error", e);
|
|
460
460
|
conditionResult = false;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const http = require("
|
|
4
|
-
const
|
|
3
|
+
const http = require("agilebuilder-ui/src/utils/request");
|
|
4
|
+
const vueRouter = require("vue-router");
|
|
5
5
|
const pageDesignTypes = require("./interfaces/page-design-types.js");
|
|
6
6
|
const pageHelperUtil = require("./page-helper-util.js");
|
|
7
7
|
function queryPageDesignByCode(pageCode) {
|
|
@@ -100,7 +100,7 @@ function getRequestObject(pageRequest) {
|
|
|
100
100
|
requestObj[paramStrs[0]] = paramStrs.length > 1 ? paramStrs[1] : "";
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
|
-
const route =
|
|
103
|
+
const route = vueRouter.useRoute();
|
|
104
104
|
if (route) {
|
|
105
105
|
if (route.params) {
|
|
106
106
|
Object.assign(requestObj, route.params);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const commonUtil = require("./common-util.js");
|
|
4
|
-
const http = require("
|
|
4
|
+
const http = require("agilebuilder-ui/src/utils/request");
|
|
5
5
|
const eventBus = require("./eventBus.js");
|
|
6
6
|
function getDataTypeMap(system, tableName) {
|
|
7
7
|
return new Promise((resolve, reject) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
3
|
-
const
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
const agilebuilderUi = require("agilebuilder-ui");
|
|
4
4
|
const eventUtil = require("../../../../utils/events/event-util.js");
|
|
5
|
-
const _sfc_main = /* @__PURE__ */
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
6
6
|
__name: "button-runtime",
|
|
7
7
|
props: {
|
|
8
8
|
pageContext: {},
|
|
@@ -15,36 +15,36 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
15
15
|
const runtimeStyle = runtimeInfo.style;
|
|
16
16
|
const runtimeClass = runtimeInfo.class;
|
|
17
17
|
return (_ctx, _cache) => {
|
|
18
|
-
const _component_el_button =
|
|
19
|
-
return
|
|
20
|
-
disabled:
|
|
21
|
-
class:
|
|
22
|
-
style:
|
|
23
|
-
type:
|
|
24
|
-
size:
|
|
25
|
-
text:
|
|
26
|
-
round:
|
|
27
|
-
plain:
|
|
28
|
-
onClick: _cache[0] || (_cache[0] = ($event) =>
|
|
18
|
+
const _component_el_button = vue.resolveComponent("el-button");
|
|
19
|
+
return vue.openBlock(), vue.createBlock(_component_el_button, {
|
|
20
|
+
disabled: vue.unref(designProperty).state === "disabled",
|
|
21
|
+
class: vue.normalizeClass(vue.unref(runtimeClass)),
|
|
22
|
+
style: vue.normalizeStyle(vue.unref(runtimeStyle)),
|
|
23
|
+
type: vue.unref(designProperty).type,
|
|
24
|
+
size: vue.unref(designProperty).size,
|
|
25
|
+
text: vue.unref(designProperty).text,
|
|
26
|
+
round: vue.unref(designProperty).round,
|
|
27
|
+
plain: vue.unref(designProperty).plain,
|
|
28
|
+
onClick: _cache[0] || (_cache[0] = ($event) => vue.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "click"))
|
|
29
29
|
}, {
|
|
30
|
-
default:
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
], 64)) :
|
|
36
|
-
], 64)) :
|
|
37
|
-
|
|
30
|
+
default: vue.withCtx(() => [
|
|
31
|
+
vue.unref(designProperty).title && vue.unref(designProperty).iconPosition == "right" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
32
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(designProperty).title) + " ", 1),
|
|
33
|
+
vue.unref(designProperty).iconValue ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
34
|
+
vue.createTextVNode(" ")
|
|
35
|
+
], 64)) : vue.createCommentVNode("", true)
|
|
36
|
+
], 64)) : vue.createCommentVNode("", true),
|
|
37
|
+
vue.unref(designProperty).iconType && vue.unref(designProperty).iconValue ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.SuperIcon), {
|
|
38
38
|
key: 1,
|
|
39
|
-
iconType:
|
|
40
|
-
iconValue:
|
|
41
|
-
}, null, 8, ["iconType", "iconValue"])) :
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
], 64)) :
|
|
46
|
-
|
|
47
|
-
], 64)) :
|
|
39
|
+
iconType: vue.unref(designProperty).iconType,
|
|
40
|
+
iconValue: vue.unref(designProperty).iconValue
|
|
41
|
+
}, null, 8, ["iconType", "iconValue"])) : vue.createCommentVNode("", true),
|
|
42
|
+
vue.unref(designProperty).title && vue.unref(designProperty).iconPosition != "right" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [
|
|
43
|
+
vue.unref(designProperty).iconValue ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
44
|
+
vue.createTextVNode(" ")
|
|
45
|
+
], 64)) : vue.createCommentVNode("", true),
|
|
46
|
+
vue.createTextVNode(" " + vue.toDisplayString(vue.unref(designProperty).title), 1)
|
|
47
|
+
], 64)) : vue.createCommentVNode("", true)
|
|
48
48
|
]),
|
|
49
49
|
_: 1
|
|
50
50
|
}, 8, ["disabled", "class", "style", "type", "size", "text", "round", "plain"]);
|
package/dist/lib/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const vue = require("vue");
|
|
3
3
|
const objectRender_vue_vue_type_script_setup_true_lang = require("../../object-render.vue.js");
|
|
4
|
-
const _sfc_main = /* @__PURE__ */
|
|
4
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
5
5
|
__name: "buttongroup-runtime",
|
|
6
6
|
props: {
|
|
7
7
|
pageContext: {},
|
|
@@ -13,14 +13,14 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
13
13
|
const runtimeStyle = runtimeInfo.style;
|
|
14
14
|
const runtimeClass = runtimeInfo.class;
|
|
15
15
|
return (_ctx, _cache) => {
|
|
16
|
-
const _component_el_button_group =
|
|
17
|
-
return
|
|
18
|
-
class:
|
|
19
|
-
style:
|
|
16
|
+
const _component_el_button_group = vue.resolveComponent("el-button-group");
|
|
17
|
+
return vue.openBlock(), vue.createBlock(_component_el_button_group, {
|
|
18
|
+
class: vue.normalizeClass(vue.unref(runtimeClass)),
|
|
19
|
+
style: vue.normalizeStyle(vue.unref(runtimeStyle))
|
|
20
20
|
}, {
|
|
21
|
-
default:
|
|
22
|
-
(
|
|
23
|
-
return
|
|
21
|
+
default: vue.withCtx(() => [
|
|
22
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.configure.items, (element, itemIndex) => {
|
|
23
|
+
return vue.openBlock(), vue.createBlock(objectRender_vue_vue_type_script_setup_true_lang, {
|
|
24
24
|
key: element.uuid,
|
|
25
25
|
pageContext: _ctx.pageContext,
|
|
26
26
|
configure: element
|