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,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const vue = require("vue");
|
|
3
3
|
const pageInitUtil = require("../../../../utils/page-init-util.js");
|
|
4
4
|
const pageHelperUtil = require("../../../../utils/page-helper-util.js");
|
|
5
|
-
const
|
|
5
|
+
const agilebuilderUi = require("agilebuilder-ui");
|
|
6
6
|
const _hoisted_1 = { style: { "display": "flex", "width": "100%", "justify-content": "space-between" } };
|
|
7
7
|
const _hoisted_2 = { style: { "overflow": "hidden", "white-space": "nowrap" } };
|
|
8
8
|
const _hoisted_3 = {
|
|
@@ -10,7 +10,7 @@ const _hoisted_3 = {
|
|
|
10
10
|
style: { "display": "flex", "justify-content": "space-between" }
|
|
11
11
|
};
|
|
12
12
|
const _hoisted_4 = ["title"];
|
|
13
|
-
const _sfc_main = /* @__PURE__ */
|
|
13
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
14
14
|
__name: "label-runtime",
|
|
15
15
|
props: {
|
|
16
16
|
pageContext: {},
|
|
@@ -45,7 +45,7 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
45
45
|
contentVariable = "${page." + props.configure.uuid + "}";
|
|
46
46
|
}
|
|
47
47
|
const formatType = designProperty.formatType;
|
|
48
|
-
const dynamicValue =
|
|
48
|
+
const dynamicValue = vue.computed(() => {
|
|
49
49
|
let resultValue = pageHelperUtil.formatVariableValue(props.pageContext, contentVariable);
|
|
50
50
|
console.log("formatType", formatType);
|
|
51
51
|
if (formatType) {
|
|
@@ -64,62 +64,62 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
64
64
|
return resultValue == void 0 || resultValue == null ? "" : resultValue;
|
|
65
65
|
});
|
|
66
66
|
return (_ctx, _cache) => {
|
|
67
|
-
const _component_el_form_item =
|
|
68
|
-
return
|
|
67
|
+
const _component_el_form_item = vue.resolveComponent("el-form-item");
|
|
68
|
+
return vue.unref(designProperty).tittleShow ? (vue.openBlock(), vue.createBlock(_component_el_form_item, {
|
|
69
69
|
key: 0,
|
|
70
|
-
required:
|
|
71
|
-
class:
|
|
72
|
-
"label-width":
|
|
73
|
-
style:
|
|
70
|
+
required: vue.unref(designProperty).required ? true : false,
|
|
71
|
+
class: vue.normalizeClass(vue.unref(runtimeClass)),
|
|
72
|
+
"label-width": vue.unref(designProperty).labelWidth,
|
|
73
|
+
style: vue.normalizeStyle(vue.unref(runtimeStyle))
|
|
74
74
|
}, {
|
|
75
|
-
label:
|
|
76
|
-
|
|
75
|
+
label: vue.withCtx(() => [
|
|
76
|
+
vue.unref(designProperty).tittleShow ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
77
77
|
key: 0,
|
|
78
|
-
style:
|
|
79
|
-
},
|
|
78
|
+
style: vue.normalizeStyle({ ...vue.unref(headerStyle) })
|
|
79
|
+
}, vue.toDisplayString(vue.unref(designProperty).title), 5)) : vue.createCommentVNode("", true)
|
|
80
80
|
]),
|
|
81
|
-
default:
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
81
|
+
default: vue.withCtx(() => [
|
|
82
|
+
vue.createElementVNode("div", _hoisted_1, [
|
|
83
|
+
vue.createElementVNode("span", _hoisted_2, [
|
|
84
|
+
vue.unref(designProperty).preIconValue || vue.unref(designProperty).preText ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
85
85
|
key: 0,
|
|
86
|
-
class:
|
|
87
|
-
style:
|
|
86
|
+
class: vue.normalizeClass({ "el-input__suffix": vue.unref(designProperty).iconPosition != "outer", "el-input-group__append": vue.unref(designProperty).iconPosition == "outer" }),
|
|
87
|
+
style: vue.normalizeStyle(vue.unref(appendStyle))
|
|
88
88
|
}, [
|
|
89
|
-
|
|
89
|
+
vue.unref(designProperty).preIconType && vue.unref(designProperty).preIconValue ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.SuperIcon), {
|
|
90
90
|
key: 0,
|
|
91
|
-
iconType:
|
|
92
|
-
iconValue:
|
|
93
|
-
}, null, 8, ["iconType", "iconValue"])) :
|
|
94
|
-
|
|
95
|
-
], 6)) :
|
|
96
|
-
|
|
91
|
+
iconType: vue.unref(designProperty).preIconType,
|
|
92
|
+
iconValue: vue.unref(designProperty).preIconValue
|
|
93
|
+
}, null, 8, ["iconType", "iconValue"])) : vue.createCommentVNode("", true),
|
|
94
|
+
vue.createTextVNode(" " + vue.toDisplayString(vue.unref(designProperty).preText), 1)
|
|
95
|
+
], 6)) : vue.createCommentVNode("", true),
|
|
96
|
+
vue.createTextVNode(" " + vue.toDisplayString(dynamicValue.value), 1)
|
|
97
97
|
]),
|
|
98
|
-
|
|
98
|
+
vue.unref(designProperty).sufIconValue || vue.unref(designProperty).sufText ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
99
99
|
key: 0,
|
|
100
|
-
class:
|
|
100
|
+
class: vue.normalizeClass({ "el-input__suffix": vue.unref(designProperty).iconPosition != "outer", "el-input-group__append": vue.unref(designProperty).iconPosition == "outer" })
|
|
101
101
|
}, [
|
|
102
|
-
|
|
102
|
+
vue.unref(designProperty).sufIconType && vue.unref(designProperty).sufIconValue ? (vue.openBlock(), vue.createBlock(vue.unref(agilebuilderUi.SuperIcon), {
|
|
103
103
|
key: 0,
|
|
104
104
|
style: {},
|
|
105
|
-
iconType:
|
|
106
|
-
iconValue:
|
|
107
|
-
}, null, 8, ["iconType", "iconValue"])) :
|
|
108
|
-
|
|
109
|
-
], 2)) :
|
|
105
|
+
iconType: vue.unref(designProperty).sufIconType,
|
|
106
|
+
iconValue: vue.unref(designProperty).sufIconValue
|
|
107
|
+
}, null, 8, ["iconType", "iconValue"])) : vue.createCommentVNode("", true),
|
|
108
|
+
vue.createElementVNode("span", null, " " + vue.toDisplayString(vue.unref(designProperty).sufText), 1)
|
|
109
|
+
], 2)) : vue.createCommentVNode("", true)
|
|
110
110
|
])
|
|
111
111
|
]),
|
|
112
112
|
_: 1
|
|
113
|
-
}, 8, ["required", "class", "label-width", "style"])) : (
|
|
114
|
-
|
|
113
|
+
}, 8, ["required", "class", "label-width", "style"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_3, [
|
|
114
|
+
vue.createElementVNode("span", {
|
|
115
115
|
style: { "overflow": "hidden", "white-space": "nowrap" },
|
|
116
116
|
title: dynamicValue.value
|
|
117
|
-
},
|
|
118
|
-
|
|
117
|
+
}, vue.toDisplayString(vue.unref(designProperty).prefixIcon) + " " + vue.toDisplayString(dynamicValue.value), 9, _hoisted_4),
|
|
118
|
+
vue.unref(designProperty).suffixTxt ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
119
119
|
key: 0,
|
|
120
|
-
class:
|
|
121
|
-
style:
|
|
122
|
-
},
|
|
120
|
+
class: vue.normalizeClass(vue.unref(appendClass)),
|
|
121
|
+
style: vue.normalizeStyle(vue.unref(appendStyle))
|
|
122
|
+
}, vue.toDisplayString(vue.unref(designProperty).suffixTxt), 7)) : vue.createCommentVNode("", true)
|
|
123
123
|
]));
|
|
124
124
|
};
|
|
125
125
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const vue = require("vue");
|
|
3
3
|
const pageInitUtil = require("../../../../utils/page-init-util.js");
|
|
4
4
|
const pageHelperUtil = require("../../../../utils/page-helper-util.js");
|
|
5
|
-
const _sfc_main = /* @__PURE__ */
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
6
6
|
__name: "link-runtime",
|
|
7
7
|
props: {
|
|
8
8
|
pageContext: {},
|
|
@@ -24,44 +24,44 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
24
24
|
if (!contentVariable) {
|
|
25
25
|
contentVariable = "${page." + props.configure.uuid + "}";
|
|
26
26
|
}
|
|
27
|
-
const dynamicValue =
|
|
27
|
+
const dynamicValue = vue.computed(() => {
|
|
28
28
|
const resultValue = pageHelperUtil.formatVariableValue(props.pageContext, contentVariable);
|
|
29
29
|
return resultValue == void 0 || resultValue == null ? "" : resultValue;
|
|
30
30
|
});
|
|
31
31
|
let tooltipVariable = designProperty.tooltip;
|
|
32
|
-
const tooltipValue =
|
|
32
|
+
const tooltipValue = vue.computed(() => {
|
|
33
33
|
const resultValue = pageHelperUtil.formatVariableValue(props.pageContext, tooltipVariable);
|
|
34
34
|
return resultValue == void 0 || resultValue == null ? "" : resultValue;
|
|
35
35
|
});
|
|
36
36
|
return (_ctx, _cache) => {
|
|
37
|
-
const _component_el_link =
|
|
38
|
-
const _component_el_tooltip =
|
|
39
|
-
const _component_el_form_item =
|
|
40
|
-
return
|
|
41
|
-
class:
|
|
42
|
-
"label-width":
|
|
43
|
-
style:
|
|
37
|
+
const _component_el_link = vue.resolveComponent("el-link");
|
|
38
|
+
const _component_el_tooltip = vue.resolveComponent("el-tooltip");
|
|
39
|
+
const _component_el_form_item = vue.resolveComponent("el-form-item");
|
|
40
|
+
return vue.openBlock(), vue.createBlock(_component_el_form_item, {
|
|
41
|
+
class: vue.normalizeClass(vue.unref(runtimeClass)),
|
|
42
|
+
"label-width": vue.unref(designProperty).labelWidth,
|
|
43
|
+
style: vue.normalizeStyle(vue.unref(runtimeStyle))
|
|
44
44
|
}, {
|
|
45
|
-
label:
|
|
46
|
-
|
|
45
|
+
label: vue.withCtx(() => [
|
|
46
|
+
vue.unref(designProperty).tittleShow ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
47
47
|
key: 0,
|
|
48
|
-
style:
|
|
49
|
-
},
|
|
48
|
+
style: vue.normalizeStyle({ ...vue.unref(headerStyle) })
|
|
49
|
+
}, vue.toDisplayString(vue.unref(designProperty).title), 5)) : vue.createCommentVNode("", true)
|
|
50
50
|
]),
|
|
51
|
-
default:
|
|
52
|
-
|
|
51
|
+
default: vue.withCtx(() => [
|
|
52
|
+
vue.createVNode(_component_el_tooltip, {
|
|
53
53
|
disabled: !tooltipValue.value,
|
|
54
54
|
content: tooltipValue.value
|
|
55
55
|
}, {
|
|
56
|
-
default:
|
|
57
|
-
|
|
58
|
-
disabled:
|
|
59
|
-
type:
|
|
60
|
-
underline:
|
|
61
|
-
onClick: _cache[0] || (_cache[0] = ($event) =>
|
|
56
|
+
default: vue.withCtx(() => [
|
|
57
|
+
vue.createVNode(_component_el_link, {
|
|
58
|
+
disabled: vue.unref(designProperty).state === "disabled",
|
|
59
|
+
type: vue.unref(designProperty).type,
|
|
60
|
+
underline: vue.unref(designProperty).underline,
|
|
61
|
+
onClick: _cache[0] || (_cache[0] = ($event) => vue.unref(pageHelperUtil.openLink)(_ctx.configure, _ctx.pageContext))
|
|
62
62
|
}, {
|
|
63
|
-
default:
|
|
64
|
-
|
|
63
|
+
default: vue.withCtx(() => [
|
|
64
|
+
vue.createTextVNode(vue.toDisplayString(dynamicValue.value), 1)
|
|
65
65
|
]),
|
|
66
66
|
_: 1
|
|
67
67
|
}, 8, ["disabled", "type", "underline"])
|
package/dist/lib/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
3
|
-
const _hoisted_1 = /* @__PURE__ */
|
|
4
|
-
const _sfc_main = /* @__PURE__ */
|
|
2
|
+
const vue = require("vue");
|
|
3
|
+
const _hoisted_1 = /* @__PURE__ */ vue.createElementVNode("div", { style: { "width": "100%", "height": "100%" } }, " ", -1);
|
|
4
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
5
5
|
__name: "placeholder-runtime",
|
|
6
6
|
props: {
|
|
7
7
|
pageContext: {},
|
|
@@ -13,12 +13,12 @@ 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_form_item =
|
|
17
|
-
return
|
|
18
|
-
class:
|
|
19
|
-
style:
|
|
16
|
+
const _component_el_form_item = vue.resolveComponent("el-form-item");
|
|
17
|
+
return vue.openBlock(), vue.createBlock(_component_el_form_item, {
|
|
18
|
+
class: vue.normalizeClass(vue.unref(runtimeClass)),
|
|
19
|
+
style: vue.normalizeStyle(vue.unref(runtimeStyle))
|
|
20
20
|
}, {
|
|
21
|
-
default:
|
|
21
|
+
default: vue.withCtx(() => [
|
|
22
22
|
_hoisted_1
|
|
23
23
|
]),
|
|
24
24
|
_: 1
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const vue = require("vue");
|
|
3
3
|
const pageHelperUtil = require("../../../../utils/page-helper-util.js");
|
|
4
4
|
const pageInitUtil = require("../../../../utils/page-init-util.js");
|
|
5
|
-
const _sfc_main = /* @__PURE__ */
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
6
6
|
__name: "radio-runtime",
|
|
7
7
|
props: {
|
|
8
8
|
pageContext: {},
|
|
@@ -12,7 +12,7 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
12
12
|
const props = __props;
|
|
13
13
|
const entity = props.pageContext.entity ? props.pageContext.entity : {};
|
|
14
14
|
let dynamicFields = pageInitUtil.getFormModelFields(props.pageContext, props.configure);
|
|
15
|
-
const dynamicModelMethod =
|
|
15
|
+
const dynamicModelMethod = vue.computed({
|
|
16
16
|
get() {
|
|
17
17
|
return pageHelperUtil.getVariableValue(entity, dynamicFields);
|
|
18
18
|
},
|
|
@@ -25,7 +25,7 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
25
25
|
const runtimeClass = runtimeInfo.class;
|
|
26
26
|
const headerStyle = runtimeInfo.headerStyle;
|
|
27
27
|
const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
|
|
28
|
-
const listOptions =
|
|
28
|
+
const listOptions = vue.ref(designProperty.options ? designProperty.options : []);
|
|
29
29
|
const cacheOptions = pageHelperUtil.getOptionDatasFromPage(props.pageContext, props.configure);
|
|
30
30
|
if (cacheOptions.length > 0) {
|
|
31
31
|
listOptions.value = cacheOptions;
|
|
@@ -68,7 +68,7 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
for (let preField of preFields) {
|
|
71
|
-
|
|
71
|
+
vue.watch(entity[preField], () => {
|
|
72
72
|
monitorFieldChange();
|
|
73
73
|
});
|
|
74
74
|
}
|
|
@@ -114,32 +114,32 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
114
114
|
updateOptions
|
|
115
115
|
});
|
|
116
116
|
return (_ctx, _cache) => {
|
|
117
|
-
const _component_el_radio =
|
|
118
|
-
const _component_el_radio_group =
|
|
119
|
-
const _component_el_form_item =
|
|
120
|
-
return
|
|
121
|
-
required:
|
|
122
|
-
class:
|
|
123
|
-
"label-width":
|
|
124
|
-
style:
|
|
117
|
+
const _component_el_radio = vue.resolveComponent("el-radio");
|
|
118
|
+
const _component_el_radio_group = vue.resolveComponent("el-radio-group");
|
|
119
|
+
const _component_el_form_item = vue.resolveComponent("el-form-item");
|
|
120
|
+
return vue.openBlock(), vue.createBlock(_component_el_form_item, {
|
|
121
|
+
required: vue.unref(designProperty).required,
|
|
122
|
+
class: vue.normalizeClass(vue.unref(runtimeClass)),
|
|
123
|
+
"label-width": vue.unref(designProperty).labelWidth,
|
|
124
|
+
style: vue.normalizeStyle(vue.unref(runtimeStyle))
|
|
125
125
|
}, {
|
|
126
|
-
label:
|
|
127
|
-
|
|
126
|
+
label: vue.withCtx(() => [
|
|
127
|
+
vue.unref(designProperty).tittleShow ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
128
128
|
key: 0,
|
|
129
|
-
style:
|
|
130
|
-
},
|
|
129
|
+
style: vue.normalizeStyle({ ...vue.unref(headerStyle) })
|
|
130
|
+
}, vue.toDisplayString(vue.unref(designProperty).title), 5)) : vue.createCommentVNode("", true)
|
|
131
131
|
]),
|
|
132
|
-
default:
|
|
133
|
-
|
|
134
|
-
disabled:
|
|
135
|
-
size:
|
|
136
|
-
onChange:
|
|
132
|
+
default: vue.withCtx(() => [
|
|
133
|
+
vue.createVNode(_component_el_radio_group, {
|
|
134
|
+
disabled: vue.unref(designProperty).state === "disabled",
|
|
135
|
+
size: vue.unref(designProperty).size,
|
|
136
|
+
onChange: vue.unref(designProperty).changeMethod,
|
|
137
137
|
modelValue: dynamicModelMethod.value,
|
|
138
138
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dynamicModelMethod.value = $event)
|
|
139
139
|
}, {
|
|
140
|
-
default:
|
|
141
|
-
(
|
|
142
|
-
return
|
|
140
|
+
default: vue.withCtx(() => [
|
|
141
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(listOptions.value, (item) => {
|
|
142
|
+
return vue.openBlock(), vue.createBlock(_component_el_radio, {
|
|
143
143
|
key: item.value,
|
|
144
144
|
value: item.value,
|
|
145
145
|
label: item.label
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const vue = require("vue");
|
|
3
3
|
const pageInitUtil = require("../../../../utils/page-init-util.js");
|
|
4
4
|
const pageHelperUtil = require("../../../../utils/page-helper-util.js");
|
|
5
|
-
const Quill = require("
|
|
6
|
-
require("
|
|
5
|
+
const Quill = require("quill");
|
|
6
|
+
require("quill/dist/quill.snow.css");
|
|
7
7
|
const _hoisted_1 = { style: { "width": "100%", "height": "100%" } };
|
|
8
8
|
const _hoisted_2 = {
|
|
9
9
|
key: 1,
|
|
10
10
|
style: { "width": "100%", "height": "100%" },
|
|
11
11
|
class: "amb-widget-richtext-single"
|
|
12
12
|
};
|
|
13
|
-
const _sfc_main = /* @__PURE__ */
|
|
13
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
14
14
|
__name: "richtext-runtime",
|
|
15
15
|
props: {
|
|
16
16
|
pageContext: {},
|
|
@@ -27,11 +27,11 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
27
27
|
const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
|
|
28
28
|
let contentVariable = designProperty.value;
|
|
29
29
|
const initValue = pageHelperUtil.formatVariableValue(props.pageContext, contentVariable);
|
|
30
|
-
const quillEditorRef =
|
|
31
|
-
const quill =
|
|
32
|
-
const fileBtn =
|
|
30
|
+
const quillEditorRef = vue.ref(null);
|
|
31
|
+
const quill = vue.ref(null);
|
|
32
|
+
const fileBtn = vue.ref(null);
|
|
33
33
|
const fontSize = ["12px", "13px", "14px", "15px", "16px", "18px", "20px", "24px", "28px", "32px", "36px"];
|
|
34
|
-
const option =
|
|
34
|
+
const option = vue.ref({
|
|
35
35
|
modules: {
|
|
36
36
|
toolbar: [
|
|
37
37
|
["bold", "italic", "underline", "strike"],
|
|
@@ -94,7 +94,7 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
94
94
|
formdata.append("file", files[0]);
|
|
95
95
|
alert("TODO:上传图片");
|
|
96
96
|
};
|
|
97
|
-
|
|
97
|
+
vue.onMounted(() => {
|
|
98
98
|
quill.value = new Quill(quillEditorRef.value, option.value);
|
|
99
99
|
quill.value.getModule("toolbar").addHandler("image", imgHandler);
|
|
100
100
|
quill.value.on("text-change", function(delta, oldDelta, source) {
|
|
@@ -109,28 +109,28 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
109
109
|
updateEditorHeight();
|
|
110
110
|
});
|
|
111
111
|
return (_ctx, _cache) => {
|
|
112
|
-
const _component_el_form_item =
|
|
113
|
-
return
|
|
112
|
+
const _component_el_form_item = vue.resolveComponent("el-form-item");
|
|
113
|
+
return vue.unref(designProperty).tittleShow ? (vue.openBlock(), vue.createBlock(_component_el_form_item, {
|
|
114
114
|
key: 0,
|
|
115
|
-
required:
|
|
116
|
-
class:
|
|
117
|
-
"label-width":
|
|
118
|
-
style:
|
|
115
|
+
required: vue.unref(designProperty).required,
|
|
116
|
+
class: vue.normalizeClass(vue.unref(runtimeClass)),
|
|
117
|
+
"label-width": vue.unref(designProperty).labelWidth,
|
|
118
|
+
style: vue.normalizeStyle(vue.unref(runtimeStyle))
|
|
119
119
|
}, {
|
|
120
|
-
label:
|
|
121
|
-
|
|
120
|
+
label: vue.withCtx(() => [
|
|
121
|
+
vue.unref(designProperty).tittleShow ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
122
122
|
key: 0,
|
|
123
|
-
style:
|
|
124
|
-
},
|
|
123
|
+
style: vue.normalizeStyle({ ...vue.unref(headerStyle) })
|
|
124
|
+
}, vue.toDisplayString(vue.unref(designProperty).title), 5)) : vue.createCommentVNode("", true)
|
|
125
125
|
]),
|
|
126
|
-
default:
|
|
127
|
-
|
|
128
|
-
|
|
126
|
+
default: vue.withCtx(() => [
|
|
127
|
+
vue.createElementVNode("div", _hoisted_1, [
|
|
128
|
+
vue.createElementVNode("div", {
|
|
129
129
|
ref_key: "quillEditorRef",
|
|
130
130
|
ref: quillEditorRef,
|
|
131
131
|
style: { "width": "100%" }
|
|
132
|
-
},
|
|
133
|
-
|
|
132
|
+
}, vue.toDisplayString(vue.unref(initValue)), 513),
|
|
133
|
+
vue.createElementVNode("input", {
|
|
134
134
|
type: "file",
|
|
135
135
|
hidden: "",
|
|
136
136
|
accept: ".jpg,.png",
|
|
@@ -141,13 +141,13 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
141
141
|
])
|
|
142
142
|
]),
|
|
143
143
|
_: 1
|
|
144
|
-
}, 8, ["required", "class", "label-width", "style"])) : (
|
|
145
|
-
|
|
144
|
+
}, 8, ["required", "class", "label-width", "style"])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [
|
|
145
|
+
vue.createElementVNode("div", {
|
|
146
146
|
ref_key: "quillEditorRef",
|
|
147
147
|
ref: quillEditorRef,
|
|
148
148
|
style: { "width": "100%" }
|
|
149
|
-
},
|
|
150
|
-
|
|
149
|
+
}, vue.toDisplayString(vue.unref(initValue)), 513),
|
|
150
|
+
vue.createElementVNode("input", {
|
|
151
151
|
type: "file",
|
|
152
152
|
hidden: "",
|
|
153
153
|
accept: ".jpg,.png",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const vue = require("vue");
|
|
3
3
|
const pageHelperUtil = require("../../../../utils/page-helper-util.js");
|
|
4
4
|
const pageInitUtil = require("../../../../utils/page-init-util.js");
|
|
5
5
|
const _hoisted_1 = { style: { "float": "left" } };
|
|
6
6
|
const _hoisted_2 = { style: { "float": "right", "color": "var(--el-text-color-secondary)", "font-size": "13px" } };
|
|
7
|
-
const _sfc_main = /* @__PURE__ */
|
|
7
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
8
8
|
__name: "select-runtime",
|
|
9
9
|
props: {
|
|
10
10
|
pageContext: {},
|
|
@@ -14,7 +14,7 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
14
14
|
const props = __props;
|
|
15
15
|
const entity = props.pageContext.entity ? props.pageContext.entity : {};
|
|
16
16
|
let dynamicFields = pageInitUtil.getFormModelFields(props.pageContext, props.configure);
|
|
17
|
-
const dynamicModelMethod =
|
|
17
|
+
const dynamicModelMethod = vue.computed({
|
|
18
18
|
get() {
|
|
19
19
|
return pageHelperUtil.getVariableValue(entity, dynamicFields);
|
|
20
20
|
},
|
|
@@ -27,12 +27,12 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
27
27
|
const runtimeClass = runtimeInfo.class;
|
|
28
28
|
const headerStyle = runtimeInfo.headerStyle;
|
|
29
29
|
const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
|
|
30
|
-
const listOptions =
|
|
30
|
+
const listOptions = vue.ref(designProperty.options ? designProperty.options : []);
|
|
31
31
|
const cacheOptions = pageHelperUtil.getOptionDatasFromPage(props.pageContext, props.configure);
|
|
32
32
|
if (cacheOptions.length > 0) {
|
|
33
33
|
listOptions.value = cacheOptions;
|
|
34
34
|
}
|
|
35
|
-
const queryLoadingFlag =
|
|
35
|
+
const queryLoadingFlag = vue.ref(false);
|
|
36
36
|
const dataOrigin = props.configure.props && props.configure.props.dataOrigin ? props.configure.props.dataOrigin : {};
|
|
37
37
|
const valueType = dataOrigin.optionValueSetType;
|
|
38
38
|
let autoSets = [];
|
|
@@ -92,7 +92,7 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
for (let preField of preFields) {
|
|
95
|
-
|
|
95
|
+
vue.watch(entity[preField], () => {
|
|
96
96
|
monitorFieldChange();
|
|
97
97
|
});
|
|
98
98
|
}
|
|
@@ -139,52 +139,52 @@ const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
|
139
139
|
updateOptions
|
|
140
140
|
});
|
|
141
141
|
return (_ctx, _cache) => {
|
|
142
|
-
const _component_el_option =
|
|
143
|
-
const _component_el_select =
|
|
144
|
-
const _component_el_form_item =
|
|
145
|
-
return
|
|
146
|
-
required:
|
|
147
|
-
class:
|
|
148
|
-
"label-width":
|
|
149
|
-
style:
|
|
142
|
+
const _component_el_option = vue.resolveComponent("el-option");
|
|
143
|
+
const _component_el_select = vue.resolveComponent("el-select");
|
|
144
|
+
const _component_el_form_item = vue.resolveComponent("el-form-item");
|
|
145
|
+
return vue.openBlock(), vue.createBlock(_component_el_form_item, {
|
|
146
|
+
required: vue.unref(designProperty).required ? true : false,
|
|
147
|
+
class: vue.normalizeClass(vue.unref(runtimeClass)),
|
|
148
|
+
"label-width": vue.unref(designProperty).labelWidth,
|
|
149
|
+
style: vue.normalizeStyle(vue.unref(runtimeStyle))
|
|
150
150
|
}, {
|
|
151
|
-
label:
|
|
152
|
-
|
|
151
|
+
label: vue.withCtx(() => [
|
|
152
|
+
vue.unref(designProperty).tittleShow ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
153
153
|
key: 0,
|
|
154
|
-
style:
|
|
155
|
-
},
|
|
154
|
+
style: vue.normalizeStyle({ ...vue.unref(headerStyle) })
|
|
155
|
+
}, vue.toDisplayString(vue.unref(designProperty).title), 5)) : vue.createCommentVNode("", true)
|
|
156
156
|
]),
|
|
157
|
-
default:
|
|
158
|
-
|
|
159
|
-
disabled:
|
|
160
|
-
size:
|
|
161
|
-
clearable:
|
|
162
|
-
multiple:
|
|
163
|
-
"collapse-tags":
|
|
164
|
-
"collapse-tags-tooltip":
|
|
165
|
-
filterable:
|
|
166
|
-
"allow-create":
|
|
167
|
-
placeholder:
|
|
168
|
-
"remote-show-suffix":
|
|
169
|
-
remote:
|
|
170
|
-
"remote-method":
|
|
157
|
+
default: vue.withCtx(() => [
|
|
158
|
+
vue.createVNode(_component_el_select, {
|
|
159
|
+
disabled: vue.unref(designProperty).state === "disabled",
|
|
160
|
+
size: vue.unref(designProperty).size,
|
|
161
|
+
clearable: vue.unref(designProperty).clearable,
|
|
162
|
+
multiple: vue.unref(designProperty).multiple,
|
|
163
|
+
"collapse-tags": vue.unref(designProperty).collapseTags,
|
|
164
|
+
"collapse-tags-tooltip": vue.unref(designProperty).collapseTagsTooltip,
|
|
165
|
+
filterable: vue.unref(designProperty).filterable,
|
|
166
|
+
"allow-create": vue.unref(designProperty).allowCreate,
|
|
167
|
+
placeholder: vue.unref(designProperty).placeholder,
|
|
168
|
+
"remote-show-suffix": vue.unref(designProperty).remoteShowSuffix,
|
|
169
|
+
remote: vue.unref(designProperty).remote,
|
|
170
|
+
"remote-method": vue.unref(designProperty).remoteMethod,
|
|
171
171
|
loading: queryLoadingFlag.value,
|
|
172
|
-
onChange:
|
|
172
|
+
onChange: vue.unref(designProperty).changeMethod,
|
|
173
173
|
modelValue: dynamicModelMethod.value,
|
|
174
174
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dynamicModelMethod.value = $event)
|
|
175
175
|
}, {
|
|
176
|
-
default:
|
|
177
|
-
(
|
|
178
|
-
return
|
|
176
|
+
default: vue.withCtx(() => [
|
|
177
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(listOptions.value, (item) => {
|
|
178
|
+
return vue.openBlock(), vue.createBlock(_component_el_option, {
|
|
179
179
|
key: item.value,
|
|
180
180
|
label: item.label,
|
|
181
181
|
value: item.value
|
|
182
182
|
}, {
|
|
183
|
-
default:
|
|
184
|
-
item._description_ ? (
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
], 64)) :
|
|
183
|
+
default: vue.withCtx(() => [
|
|
184
|
+
item._description_ ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
185
|
+
vue.createElementVNode("span", _hoisted_1, vue.toDisplayString(item.label), 1),
|
|
186
|
+
vue.createElementVNode("span", _hoisted_2, vue.toDisplayString(item._description_), 1)
|
|
187
|
+
], 64)) : vue.createCommentVNode("", true)
|
|
188
188
|
]),
|
|
189
189
|
_: 2
|
|
190
190
|
}, 1032, ["label", "value"]);
|