super-page-runtime 3.0.5 → 3.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/components/runtime/index.d.ts +1 -2
- package/dist/es/components/runtime/index.js +4 -0
- 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 -7
- package/dist/es/components/runtime/utils/events/validator-util.js +4 -4
- 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 +3 -3
- 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 +3 -3
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +16 -22
- package/dist/es/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +13 -16
- package/dist/es/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +14 -18
- package/dist/es/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +14 -18
- package/dist/es/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +15 -20
- 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 +4 -4
- 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 +6 -6
- 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 -6
- 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 -5
- 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 +6 -6
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +4 -4
- 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 -5
- 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 +7 -8
- package/dist/es/components/super-page-dialog/index.d.ts +3 -0
- package/dist/es/components/{runtime/views → super-page-dialog}/super-page-dialog.vue.js +2 -2
- package/dist/es/components/super-page-dialog/super-page-dialog.vue2.js +4 -0
- package/dist/es/components/wf-editor/index.d.ts +3 -0
- package/dist/es/components/wf-editor/index.js +4 -0
- package/dist/es/components/wf-editor/wf-editor.css +4 -0
- package/dist/es/components/wf-editor/wf-editor.vue.d.ts +2 -0
- package/dist/es/components/wf-editor/wf-editor.vue.js +16 -0
- package/dist/es/index.d.ts +4 -2
- package/dist/es/index.js +4 -2
- package/dist/favicon.ico +0 -0
- package/dist/lib/components/runtime/index.d.ts +1 -2
- package/dist/lib/components/runtime/index.js +3 -0
- package/dist/lib/components/runtime/utils/api/api-util.js +12 -12
- 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 +105 -106
- package/dist/lib/components/runtime/utils/events/validator-util.js +15 -15
- package/dist/lib/components/runtime/utils/global-refs.js +1 -1
- package/dist/lib/components/runtime/utils/page-helper-util.js +8 -8
- package/dist/lib/components/runtime/utils/page-init-util.js +5 -5
- package/dist/lib/components/runtime/utils/table-utils.js +2 -2
- 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 -30
- package/dist/lib/components/runtime/views/assemblys/chart/gauge/gauge-runtime.vue2.js +21 -24
- package/dist/lib/components/runtime/views/assemblys/chart/pie/pie-runtime.vue2.js +22 -26
- package/dist/lib/components/runtime/views/assemblys/chart/radar/radar-runtime.vue2.js +22 -26
- package/dist/lib/components/runtime/views/assemblys/chart/scatter/scatter-runtime.vue2.js +23 -28
- 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 -12
- 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 -28
- 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 +37 -39
- 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 +61 -62
- package/dist/lib/components/super-page-dialog/index.d.ts +3 -0
- package/dist/lib/components/{runtime/views → super-page-dialog}/super-page-dialog.vue.js +14 -14
- package/dist/lib/components/super-page-dialog/super-page-dialog.vue2.js +3 -0
- package/dist/lib/components/wf-editor/index.d.ts +3 -0
- package/dist/lib/components/wf-editor/index.js +3 -0
- package/dist/lib/components/wf-editor/wf-editor.css +4 -0
- package/dist/lib/components/wf-editor/wf-editor.vue.d.ts +2 -0
- package/dist/lib/components/wf-editor/wf-editor.vue.js +15 -0
- package/dist/lib/index.d.ts +4 -2
- package/dist/lib/index.js +3 -1
- package/dist/super-page-runtime.umd.js +213932 -0
- package/package.json +3 -4
- package/dist/es/_virtual/AttributeMap.js +0 -4
- package/dist/es/_virtual/Delta.js +0 -4
- package/dist/es/_virtual/Op.js +0 -4
- package/dist/es/_virtual/OpIterator.js +0 -4
- package/dist/es/_virtual/__vite-browser-external.js +0 -4
- package/dist/es/_virtual/_commonjsHelpers.js +0 -8
- package/dist/es/_virtual/dayjs.min.js +0 -4
- package/dist/es/_virtual/index.js +0 -4
- package/dist/es/_virtual/index2.js +0 -4
- package/dist/es/_virtual/index3.js +0 -4
- package/dist/lib/_virtual/AttributeMap.js +0 -4
- package/dist/lib/_virtual/Delta.js +0 -4
- package/dist/lib/_virtual/Op.js +0 -4
- package/dist/lib/_virtual/OpIterator.js +0 -4
- package/dist/lib/_virtual/__vite-browser-external.js +0 -3
- package/dist/lib/_virtual/_commonjsHelpers.js +0 -8
- package/dist/lib/_virtual/dayjs.min.js +0 -4
- package/dist/lib/_virtual/index.js +0 -4
- package/dist/lib/_virtual/index2.js +0 -4
- package/dist/lib/_virtual/index3.js +0 -4
- /package/dist/es/components/{runtime/views/super-page-dialog.vue2.js → super-page-dialog/index.js} +0 -0
- /package/dist/es/components/{runtime/views → super-page-dialog}/super-page-dialog.vue.d.ts +0 -0
- /package/dist/lib/components/{runtime/views/super-page-dialog.vue2.js → super-page-dialog/index.js} +0 -0
- /package/dist/lib/components/{runtime/views → super-page-dialog}/super-page-dialog.vue.d.ts +0 -0
package/dist/lib/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const vue_runtime_esmBundler_js = require("D:/MyToolbox/ws-idea/agile-builder/dev-platform/agile-builder-super-design/node_modules/.pnpm/vue@3.4.21_typescript@5.4.5/node_modules/vue/dist/vue.runtime.esm-bundler.js");
|
|
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_runtime_esmBundler_js.defineComponent({
|
|
6
6
|
__name: "input-number-runtime",
|
|
7
7
|
props: {
|
|
8
8
|
pageContext: {},
|
|
@@ -12,7 +12,7 @@ const _sfc_main = /* @__PURE__ */ Vue.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_runtime_esmBundler_js.computed({
|
|
16
16
|
get() {
|
|
17
17
|
return pageHelperUtil.getVariableValue(entity, dynamicFields);
|
|
18
18
|
},
|
|
@@ -26,33 +26,33 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
26
26
|
const headerStyle = runtimeInfo.headerStyle;
|
|
27
27
|
const designProperty = runtimeInfo.props ? runtimeInfo.props : {};
|
|
28
28
|
return (_ctx, _cache) => {
|
|
29
|
-
const _component_el_input_number =
|
|
30
|
-
const _component_el_form_item =
|
|
31
|
-
return
|
|
32
|
-
required:
|
|
33
|
-
class:
|
|
34
|
-
"label-width":
|
|
35
|
-
style:
|
|
29
|
+
const _component_el_input_number = vue_runtime_esmBundler_js.resolveComponent("el-input-number");
|
|
30
|
+
const _component_el_form_item = vue_runtime_esmBundler_js.resolveComponent("el-form-item");
|
|
31
|
+
return vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createBlock(_component_el_form_item, {
|
|
32
|
+
required: vue_runtime_esmBundler_js.unref(designProperty).required,
|
|
33
|
+
class: vue_runtime_esmBundler_js.normalizeClass(vue_runtime_esmBundler_js.unref(runtimeClass)),
|
|
34
|
+
"label-width": vue_runtime_esmBundler_js.unref(designProperty).labelWidth,
|
|
35
|
+
style: vue_runtime_esmBundler_js.normalizeStyle(vue_runtime_esmBundler_js.unref(runtimeStyle))
|
|
36
36
|
}, {
|
|
37
|
-
label:
|
|
38
|
-
|
|
37
|
+
label: vue_runtime_esmBundler_js.withCtx(() => [
|
|
38
|
+
vue_runtime_esmBundler_js.unref(designProperty).tittleShow ? (vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createElementBlock("div", {
|
|
39
39
|
key: 0,
|
|
40
|
-
style:
|
|
41
|
-
},
|
|
40
|
+
style: vue_runtime_esmBundler_js.normalizeStyle({ ...vue_runtime_esmBundler_js.unref(headerStyle) })
|
|
41
|
+
}, vue_runtime_esmBundler_js.toDisplayString(vue_runtime_esmBundler_js.unref(designProperty).title), 5)) : vue_runtime_esmBundler_js.createCommentVNode("", true)
|
|
42
42
|
]),
|
|
43
|
-
default:
|
|
44
|
-
|
|
45
|
-
disabled:
|
|
46
|
-
readonly:
|
|
47
|
-
controls:
|
|
48
|
-
size:
|
|
49
|
-
placeholder:
|
|
43
|
+
default: vue_runtime_esmBundler_js.withCtx(() => [
|
|
44
|
+
vue_runtime_esmBundler_js.createVNode(_component_el_input_number, {
|
|
45
|
+
disabled: vue_runtime_esmBundler_js.unref(designProperty).state === "disabled",
|
|
46
|
+
readonly: vue_runtime_esmBundler_js.unref(designProperty).state === "readonly",
|
|
47
|
+
controls: vue_runtime_esmBundler_js.unref(designProperty).showButton,
|
|
48
|
+
size: vue_runtime_esmBundler_js.unref(designProperty).size,
|
|
49
|
+
placeholder: vue_runtime_esmBundler_js.unref(designProperty).placeholder,
|
|
50
50
|
modelValue: dynamicModelMethod.value,
|
|
51
51
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dynamicModelMethod.value = $event),
|
|
52
|
-
precision:
|
|
53
|
-
step:
|
|
54
|
-
min:
|
|
55
|
-
max:
|
|
52
|
+
precision: vue_runtime_esmBundler_js.unref(designProperty).precision,
|
|
53
|
+
step: vue_runtime_esmBundler_js.unref(designProperty).step,
|
|
54
|
+
min: vue_runtime_esmBundler_js.unref(designProperty).min,
|
|
55
|
+
max: vue_runtime_esmBundler_js.unref(designProperty).max
|
|
56
56
|
}, null, 8, ["disabled", "readonly", "controls", "size", "placeholder", "modelValue", "precision", "step", "min", "max"])
|
|
57
57
|
]),
|
|
58
58
|
_: 1
|
package/dist/lib/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
3
|
-
const
|
|
2
|
+
const vue_runtime_esmBundler_js = require("D:/MyToolbox/ws-idea/agile-builder/dev-platform/agile-builder-super-design/node_modules/.pnpm/vue@3.4.21_typescript@5.4.5/node_modules/vue/dist/vue.runtime.esm-bundler.js");
|
|
3
|
+
const superUi_js = require("D:/MyToolbox/ws-idea/agile-builder/dev-platform/agile-builder-super-design/node_modules/.pnpm/agilebuilder-ui@1.0.13_vue@3.4.21/node_modules/agilebuilder-ui/lib/super-ui.js");
|
|
4
4
|
const pageInitUtil = require("../../../../utils/page-init-util.js");
|
|
5
5
|
const pageHelperUtil = require("../../../../utils/page-helper-util.js");
|
|
6
6
|
const eventUtil = require("../../../../utils/events/event-util.js");
|
|
7
|
-
const _sfc_main = /* @__PURE__ */
|
|
7
|
+
const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
8
8
|
__name: "inputtext-runtime",
|
|
9
9
|
props: {
|
|
10
10
|
pageContext: {},
|
|
@@ -14,7 +14,7 @@ const _sfc_main = /* @__PURE__ */ Vue.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_runtime_esmBundler_js.computed({
|
|
18
18
|
get() {
|
|
19
19
|
return pageHelperUtil.getVariableValue(entity, dynamicFields);
|
|
20
20
|
},
|
|
@@ -38,82 +38,82 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
38
38
|
setValue
|
|
39
39
|
});
|
|
40
40
|
return (_ctx, _cache) => {
|
|
41
|
-
const _component_el_input =
|
|
42
|
-
const _component_el_form_item =
|
|
43
|
-
return
|
|
44
|
-
required:
|
|
45
|
-
class:
|
|
46
|
-
"label-width":
|
|
47
|
-
style:
|
|
41
|
+
const _component_el_input = vue_runtime_esmBundler_js.resolveComponent("el-input");
|
|
42
|
+
const _component_el_form_item = vue_runtime_esmBundler_js.resolveComponent("el-form-item");
|
|
43
|
+
return vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createBlock(_component_el_form_item, {
|
|
44
|
+
required: vue_runtime_esmBundler_js.unref(designProperty).required ? true : false,
|
|
45
|
+
class: vue_runtime_esmBundler_js.normalizeClass(vue_runtime_esmBundler_js.unref(runtimeClass)),
|
|
46
|
+
"label-width": vue_runtime_esmBundler_js.unref(designProperty).labelWidth,
|
|
47
|
+
style: vue_runtime_esmBundler_js.normalizeStyle(vue_runtime_esmBundler_js.unref(runtimeStyle))
|
|
48
48
|
}, {
|
|
49
|
-
label:
|
|
50
|
-
|
|
49
|
+
label: vue_runtime_esmBundler_js.withCtx(() => [
|
|
50
|
+
vue_runtime_esmBundler_js.unref(designProperty).tittleShow ? (vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createElementBlock("div", {
|
|
51
51
|
key: 0,
|
|
52
|
-
style:
|
|
53
|
-
},
|
|
52
|
+
style: vue_runtime_esmBundler_js.normalizeStyle({ ...vue_runtime_esmBundler_js.unref(headerStyle) })
|
|
53
|
+
}, vue_runtime_esmBundler_js.toDisplayString(vue_runtime_esmBundler_js.unref(designProperty).title), 5)) : vue_runtime_esmBundler_js.createCommentVNode("", true)
|
|
54
54
|
]),
|
|
55
|
-
default:
|
|
56
|
-
|
|
57
|
-
disabled:
|
|
58
|
-
readonly:
|
|
59
|
-
size:
|
|
60
|
-
clearable:
|
|
61
|
-
placeholder:
|
|
62
|
-
maxlength:
|
|
63
|
-
"show-word-limit":
|
|
55
|
+
default: vue_runtime_esmBundler_js.withCtx(() => [
|
|
56
|
+
vue_runtime_esmBundler_js.createVNode(_component_el_input, {
|
|
57
|
+
disabled: vue_runtime_esmBundler_js.unref(designProperty).state === "disabled",
|
|
58
|
+
readonly: vue_runtime_esmBundler_js.unref(designProperty).state === "readonly",
|
|
59
|
+
size: vue_runtime_esmBundler_js.unref(designProperty).size,
|
|
60
|
+
clearable: vue_runtime_esmBundler_js.unref(designProperty).clearable,
|
|
61
|
+
placeholder: vue_runtime_esmBundler_js.unref(designProperty).placeholder,
|
|
62
|
+
maxlength: vue_runtime_esmBundler_js.unref(designProperty).maxLength,
|
|
63
|
+
"show-word-limit": vue_runtime_esmBundler_js.unref(designProperty).showInputNum,
|
|
64
64
|
modelValue: dynamicModelMethod.value,
|
|
65
65
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dynamicModelMethod.value = $event),
|
|
66
|
-
onInput: _cache[1] || (_cache[1] = ($event) =>
|
|
67
|
-
onChange: _cache[2] || (_cache[2] = ($event) =>
|
|
68
|
-
onBlur: _cache[3] || (_cache[3] = ($event) =>
|
|
69
|
-
onFocus: _cache[4] || (_cache[4] = ($event) =>
|
|
70
|
-
onClick: _cache[5] || (_cache[5] = ($event) =>
|
|
71
|
-
},
|
|
72
|
-
|
|
66
|
+
onInput: _cache[1] || (_cache[1] = ($event) => vue_runtime_esmBundler_js.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "input")),
|
|
67
|
+
onChange: _cache[2] || (_cache[2] = ($event) => vue_runtime_esmBundler_js.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "change")),
|
|
68
|
+
onBlur: _cache[3] || (_cache[3] = ($event) => vue_runtime_esmBundler_js.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "blur")),
|
|
69
|
+
onFocus: _cache[4] || (_cache[4] = ($event) => vue_runtime_esmBundler_js.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "focus")),
|
|
70
|
+
onClick: _cache[5] || (_cache[5] = ($event) => vue_runtime_esmBundler_js.unref(eventUtil.handleEvent)($event, _ctx.pageContext, _ctx.configure, "click"))
|
|
71
|
+
}, vue_runtime_esmBundler_js.createSlots({ _: 2 }, [
|
|
72
|
+
vue_runtime_esmBundler_js.unref(designProperty).iconPosition != "outer" && (vue_runtime_esmBundler_js.unref(designProperty).preIconType && vue_runtime_esmBundler_js.unref(designProperty).preIconValue || vue_runtime_esmBundler_js.unref(designProperty).preText) ? {
|
|
73
73
|
name: "prefix",
|
|
74
|
-
fn:
|
|
75
|
-
|
|
74
|
+
fn: vue_runtime_esmBundler_js.withCtx(() => [
|
|
75
|
+
vue_runtime_esmBundler_js.unref(designProperty).preIconType && vue_runtime_esmBundler_js.unref(designProperty).preIconValue ? (vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createBlock(vue_runtime_esmBundler_js.unref(superUi_js.SuperIcon), {
|
|
76
76
|
key: 0,
|
|
77
|
-
iconType:
|
|
78
|
-
iconValue:
|
|
79
|
-
}, null, 8, ["iconType", "iconValue"])) :
|
|
80
|
-
|
|
77
|
+
iconType: vue_runtime_esmBundler_js.unref(designProperty).preIconType,
|
|
78
|
+
iconValue: vue_runtime_esmBundler_js.unref(designProperty).preIconValue
|
|
79
|
+
}, null, 8, ["iconType", "iconValue"])) : vue_runtime_esmBundler_js.createCommentVNode("", true),
|
|
80
|
+
vue_runtime_esmBundler_js.createTextVNode(" " + vue_runtime_esmBundler_js.toDisplayString(vue_runtime_esmBundler_js.unref(designProperty).preText), 1)
|
|
81
81
|
]),
|
|
82
82
|
key: "0"
|
|
83
83
|
} : void 0,
|
|
84
|
-
|
|
84
|
+
vue_runtime_esmBundler_js.unref(designProperty).iconPosition == "outer" && (vue_runtime_esmBundler_js.unref(designProperty).preIconType && vue_runtime_esmBundler_js.unref(designProperty).preIconValue || vue_runtime_esmBundler_js.unref(designProperty).preText) ? {
|
|
85
85
|
name: "prepend",
|
|
86
|
-
fn:
|
|
87
|
-
|
|
86
|
+
fn: vue_runtime_esmBundler_js.withCtx(() => [
|
|
87
|
+
vue_runtime_esmBundler_js.unref(designProperty).preIconType && vue_runtime_esmBundler_js.unref(designProperty).preIconValue ? (vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createBlock(vue_runtime_esmBundler_js.unref(superUi_js.SuperIcon), {
|
|
88
88
|
key: 0,
|
|
89
|
-
iconType:
|
|
90
|
-
iconValue:
|
|
91
|
-
}, null, 8, ["iconType", "iconValue"])) :
|
|
92
|
-
|
|
89
|
+
iconType: vue_runtime_esmBundler_js.unref(designProperty).preIconType,
|
|
90
|
+
iconValue: vue_runtime_esmBundler_js.unref(designProperty).preIconValue
|
|
91
|
+
}, null, 8, ["iconType", "iconValue"])) : vue_runtime_esmBundler_js.createCommentVNode("", true),
|
|
92
|
+
vue_runtime_esmBundler_js.createTextVNode(" " + vue_runtime_esmBundler_js.toDisplayString(vue_runtime_esmBundler_js.unref(designProperty).preText), 1)
|
|
93
93
|
]),
|
|
94
94
|
key: "1"
|
|
95
95
|
} : void 0,
|
|
96
|
-
|
|
96
|
+
vue_runtime_esmBundler_js.unref(designProperty).iconPosition != "outer" && (vue_runtime_esmBundler_js.unref(designProperty).sufIconType && vue_runtime_esmBundler_js.unref(designProperty).sufIconValue || vue_runtime_esmBundler_js.unref(designProperty).sufText) ? {
|
|
97
97
|
name: "suffix",
|
|
98
|
-
fn:
|
|
99
|
-
|
|
98
|
+
fn: vue_runtime_esmBundler_js.withCtx(() => [
|
|
99
|
+
vue_runtime_esmBundler_js.unref(designProperty).sufIconType && vue_runtime_esmBundler_js.unref(designProperty).sufIconValue ? (vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createBlock(vue_runtime_esmBundler_js.unref(superUi_js.SuperIcon), {
|
|
100
100
|
key: 0,
|
|
101
|
-
iconType:
|
|
102
|
-
iconValue:
|
|
103
|
-
}, null, 8, ["iconType", "iconValue"])) :
|
|
104
|
-
|
|
101
|
+
iconType: vue_runtime_esmBundler_js.unref(designProperty).sufIconType,
|
|
102
|
+
iconValue: vue_runtime_esmBundler_js.unref(designProperty).sufIconValue
|
|
103
|
+
}, null, 8, ["iconType", "iconValue"])) : vue_runtime_esmBundler_js.createCommentVNode("", true),
|
|
104
|
+
vue_runtime_esmBundler_js.createTextVNode(" " + vue_runtime_esmBundler_js.toDisplayString(vue_runtime_esmBundler_js.unref(designProperty).sufText), 1)
|
|
105
105
|
]),
|
|
106
106
|
key: "2"
|
|
107
107
|
} : void 0,
|
|
108
|
-
|
|
108
|
+
vue_runtime_esmBundler_js.unref(designProperty).iconPosition == "outer" && (vue_runtime_esmBundler_js.unref(designProperty).sufIconType && vue_runtime_esmBundler_js.unref(designProperty).sufIconValue || vue_runtime_esmBundler_js.unref(designProperty).sufText) ? {
|
|
109
109
|
name: "append",
|
|
110
|
-
fn:
|
|
111
|
-
|
|
110
|
+
fn: vue_runtime_esmBundler_js.withCtx(() => [
|
|
111
|
+
vue_runtime_esmBundler_js.unref(designProperty).sufIconType && vue_runtime_esmBundler_js.unref(designProperty).sufIconValue ? (vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createBlock(vue_runtime_esmBundler_js.unref(superUi_js.SuperIcon), {
|
|
112
112
|
key: 0,
|
|
113
|
-
iconType:
|
|
114
|
-
iconValue:
|
|
115
|
-
}, null, 8, ["iconType", "iconValue"])) :
|
|
116
|
-
|
|
113
|
+
iconType: vue_runtime_esmBundler_js.unref(designProperty).sufIconType,
|
|
114
|
+
iconValue: vue_runtime_esmBundler_js.unref(designProperty).sufIconValue
|
|
115
|
+
}, null, 8, ["iconType", "iconValue"])) : vue_runtime_esmBundler_js.createCommentVNode("", true),
|
|
116
|
+
vue_runtime_esmBundler_js.createTextVNode(" " + vue_runtime_esmBundler_js.toDisplayString(vue_runtime_esmBundler_js.unref(designProperty).sufText), 1)
|
|
117
117
|
]),
|
|
118
118
|
key: "3"
|
|
119
119
|
} : void 0
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const vue_runtime_esmBundler_js = require("D:/MyToolbox/ws-idea/agile-builder/dev-platform/agile-builder-super-design/node_modules/.pnpm/vue@3.4.21_typescript@5.4.5/node_modules/vue/dist/vue.runtime.esm-bundler.js");
|
|
3
3
|
const pageInitUtil = require("../../../../utils/page-init-util.js");
|
|
4
4
|
const pageHelperUtil = require("../../../../utils/page-helper-util.js");
|
|
5
|
-
const
|
|
5
|
+
const superUi_js = require("D:/MyToolbox/ws-idea/agile-builder/dev-platform/agile-builder-super-design/node_modules/.pnpm/agilebuilder-ui@1.0.13_vue@3.4.21/node_modules/agilebuilder-ui/lib/super-ui.js");
|
|
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_runtime_esmBundler_js.defineComponent({
|
|
14
14
|
__name: "label-runtime",
|
|
15
15
|
props: {
|
|
16
16
|
pageContext: {},
|
|
@@ -45,7 +45,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
45
45
|
contentVariable = "${page." + props.configure.uuid + "}";
|
|
46
46
|
}
|
|
47
47
|
const formatType = designProperty.formatType;
|
|
48
|
-
const dynamicValue =
|
|
48
|
+
const dynamicValue = vue_runtime_esmBundler_js.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.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_runtime_esmBundler_js.resolveComponent("el-form-item");
|
|
68
|
+
return vue_runtime_esmBundler_js.unref(designProperty).tittleShow ? (vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createBlock(_component_el_form_item, {
|
|
69
69
|
key: 0,
|
|
70
|
-
required:
|
|
71
|
-
class:
|
|
72
|
-
"label-width":
|
|
73
|
-
style:
|
|
70
|
+
required: vue_runtime_esmBundler_js.unref(designProperty).required ? true : false,
|
|
71
|
+
class: vue_runtime_esmBundler_js.normalizeClass(vue_runtime_esmBundler_js.unref(runtimeClass)),
|
|
72
|
+
"label-width": vue_runtime_esmBundler_js.unref(designProperty).labelWidth,
|
|
73
|
+
style: vue_runtime_esmBundler_js.normalizeStyle(vue_runtime_esmBundler_js.unref(runtimeStyle))
|
|
74
74
|
}, {
|
|
75
|
-
label:
|
|
76
|
-
|
|
75
|
+
label: vue_runtime_esmBundler_js.withCtx(() => [
|
|
76
|
+
vue_runtime_esmBundler_js.unref(designProperty).tittleShow ? (vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createElementBlock("div", {
|
|
77
77
|
key: 0,
|
|
78
|
-
style:
|
|
79
|
-
},
|
|
78
|
+
style: vue_runtime_esmBundler_js.normalizeStyle({ ...vue_runtime_esmBundler_js.unref(headerStyle) })
|
|
79
|
+
}, vue_runtime_esmBundler_js.toDisplayString(vue_runtime_esmBundler_js.unref(designProperty).title), 5)) : vue_runtime_esmBundler_js.createCommentVNode("", true)
|
|
80
80
|
]),
|
|
81
|
-
default:
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
81
|
+
default: vue_runtime_esmBundler_js.withCtx(() => [
|
|
82
|
+
vue_runtime_esmBundler_js.createElementVNode("div", _hoisted_1, [
|
|
83
|
+
vue_runtime_esmBundler_js.createElementVNode("span", _hoisted_2, [
|
|
84
|
+
vue_runtime_esmBundler_js.unref(designProperty).preIconValue || vue_runtime_esmBundler_js.unref(designProperty).preText ? (vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createElementBlock("span", {
|
|
85
85
|
key: 0,
|
|
86
|
-
class:
|
|
87
|
-
style:
|
|
86
|
+
class: vue_runtime_esmBundler_js.normalizeClass({ "el-input__suffix": vue_runtime_esmBundler_js.unref(designProperty).iconPosition != "outer", "el-input-group__append": vue_runtime_esmBundler_js.unref(designProperty).iconPosition == "outer" }),
|
|
87
|
+
style: vue_runtime_esmBundler_js.normalizeStyle(vue_runtime_esmBundler_js.unref(appendStyle))
|
|
88
88
|
}, [
|
|
89
|
-
|
|
89
|
+
vue_runtime_esmBundler_js.unref(designProperty).preIconType && vue_runtime_esmBundler_js.unref(designProperty).preIconValue ? (vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createBlock(vue_runtime_esmBundler_js.unref(superUi_js.SuperIcon), {
|
|
90
90
|
key: 0,
|
|
91
|
-
iconType:
|
|
92
|
-
iconValue:
|
|
93
|
-
}, null, 8, ["iconType", "iconValue"])) :
|
|
94
|
-
|
|
95
|
-
], 6)) :
|
|
96
|
-
|
|
91
|
+
iconType: vue_runtime_esmBundler_js.unref(designProperty).preIconType,
|
|
92
|
+
iconValue: vue_runtime_esmBundler_js.unref(designProperty).preIconValue
|
|
93
|
+
}, null, 8, ["iconType", "iconValue"])) : vue_runtime_esmBundler_js.createCommentVNode("", true),
|
|
94
|
+
vue_runtime_esmBundler_js.createTextVNode(" " + vue_runtime_esmBundler_js.toDisplayString(vue_runtime_esmBundler_js.unref(designProperty).preText), 1)
|
|
95
|
+
], 6)) : vue_runtime_esmBundler_js.createCommentVNode("", true),
|
|
96
|
+
vue_runtime_esmBundler_js.createTextVNode(" " + vue_runtime_esmBundler_js.toDisplayString(dynamicValue.value), 1)
|
|
97
97
|
]),
|
|
98
|
-
|
|
98
|
+
vue_runtime_esmBundler_js.unref(designProperty).sufIconValue || vue_runtime_esmBundler_js.unref(designProperty).sufText ? (vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createElementBlock("span", {
|
|
99
99
|
key: 0,
|
|
100
|
-
class:
|
|
100
|
+
class: vue_runtime_esmBundler_js.normalizeClass({ "el-input__suffix": vue_runtime_esmBundler_js.unref(designProperty).iconPosition != "outer", "el-input-group__append": vue_runtime_esmBundler_js.unref(designProperty).iconPosition == "outer" })
|
|
101
101
|
}, [
|
|
102
|
-
|
|
102
|
+
vue_runtime_esmBundler_js.unref(designProperty).sufIconType && vue_runtime_esmBundler_js.unref(designProperty).sufIconValue ? (vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createBlock(vue_runtime_esmBundler_js.unref(superUi_js.SuperIcon), {
|
|
103
103
|
key: 0,
|
|
104
104
|
style: {},
|
|
105
|
-
iconType:
|
|
106
|
-
iconValue:
|
|
107
|
-
}, null, 8, ["iconType", "iconValue"])) :
|
|
108
|
-
|
|
109
|
-
], 2)) :
|
|
105
|
+
iconType: vue_runtime_esmBundler_js.unref(designProperty).sufIconType,
|
|
106
|
+
iconValue: vue_runtime_esmBundler_js.unref(designProperty).sufIconValue
|
|
107
|
+
}, null, 8, ["iconType", "iconValue"])) : vue_runtime_esmBundler_js.createCommentVNode("", true),
|
|
108
|
+
vue_runtime_esmBundler_js.createElementVNode("span", null, " " + vue_runtime_esmBundler_js.toDisplayString(vue_runtime_esmBundler_js.unref(designProperty).sufText), 1)
|
|
109
|
+
], 2)) : vue_runtime_esmBundler_js.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_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createElementBlock("span", _hoisted_3, [
|
|
114
|
+
vue_runtime_esmBundler_js.createElementVNode("span", {
|
|
115
115
|
style: { "overflow": "hidden", "white-space": "nowrap" },
|
|
116
116
|
title: dynamicValue.value
|
|
117
|
-
},
|
|
118
|
-
|
|
117
|
+
}, vue_runtime_esmBundler_js.toDisplayString(vue_runtime_esmBundler_js.unref(designProperty).prefixIcon) + " " + vue_runtime_esmBundler_js.toDisplayString(dynamicValue.value), 9, _hoisted_4),
|
|
118
|
+
vue_runtime_esmBundler_js.unref(designProperty).suffixTxt ? (vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createElementBlock("span", {
|
|
119
119
|
key: 0,
|
|
120
|
-
class:
|
|
121
|
-
style:
|
|
122
|
-
},
|
|
120
|
+
class: vue_runtime_esmBundler_js.normalizeClass(vue_runtime_esmBundler_js.unref(appendClass)),
|
|
121
|
+
style: vue_runtime_esmBundler_js.normalizeStyle(vue_runtime_esmBundler_js.unref(appendStyle))
|
|
122
|
+
}, vue_runtime_esmBundler_js.toDisplayString(vue_runtime_esmBundler_js.unref(designProperty).suffixTxt), 7)) : vue_runtime_esmBundler_js.createCommentVNode("", true)
|
|
123
123
|
]));
|
|
124
124
|
};
|
|
125
125
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const vue_runtime_esmBundler_js = require("D:/MyToolbox/ws-idea/agile-builder/dev-platform/agile-builder-super-design/node_modules/.pnpm/vue@3.4.21_typescript@5.4.5/node_modules/vue/dist/vue.runtime.esm-bundler.js");
|
|
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_runtime_esmBundler_js.defineComponent({
|
|
6
6
|
__name: "link-runtime",
|
|
7
7
|
props: {
|
|
8
8
|
pageContext: {},
|
|
@@ -24,44 +24,44 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
24
24
|
if (!contentVariable) {
|
|
25
25
|
contentVariable = "${page." + props.configure.uuid + "}";
|
|
26
26
|
}
|
|
27
|
-
const dynamicValue =
|
|
27
|
+
const dynamicValue = vue_runtime_esmBundler_js.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_runtime_esmBundler_js.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_runtime_esmBundler_js.resolveComponent("el-link");
|
|
38
|
+
const _component_el_tooltip = vue_runtime_esmBundler_js.resolveComponent("el-tooltip");
|
|
39
|
+
const _component_el_form_item = vue_runtime_esmBundler_js.resolveComponent("el-form-item");
|
|
40
|
+
return vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createBlock(_component_el_form_item, {
|
|
41
|
+
class: vue_runtime_esmBundler_js.normalizeClass(vue_runtime_esmBundler_js.unref(runtimeClass)),
|
|
42
|
+
"label-width": vue_runtime_esmBundler_js.unref(designProperty).labelWidth,
|
|
43
|
+
style: vue_runtime_esmBundler_js.normalizeStyle(vue_runtime_esmBundler_js.unref(runtimeStyle))
|
|
44
44
|
}, {
|
|
45
|
-
label:
|
|
46
|
-
|
|
45
|
+
label: vue_runtime_esmBundler_js.withCtx(() => [
|
|
46
|
+
vue_runtime_esmBundler_js.unref(designProperty).tittleShow ? (vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createElementBlock("div", {
|
|
47
47
|
key: 0,
|
|
48
|
-
style:
|
|
49
|
-
},
|
|
48
|
+
style: vue_runtime_esmBundler_js.normalizeStyle({ ...vue_runtime_esmBundler_js.unref(headerStyle) })
|
|
49
|
+
}, vue_runtime_esmBundler_js.toDisplayString(vue_runtime_esmBundler_js.unref(designProperty).title), 5)) : vue_runtime_esmBundler_js.createCommentVNode("", true)
|
|
50
50
|
]),
|
|
51
|
-
default:
|
|
52
|
-
|
|
51
|
+
default: vue_runtime_esmBundler_js.withCtx(() => [
|
|
52
|
+
vue_runtime_esmBundler_js.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_runtime_esmBundler_js.withCtx(() => [
|
|
57
|
+
vue_runtime_esmBundler_js.createVNode(_component_el_link, {
|
|
58
|
+
disabled: vue_runtime_esmBundler_js.unref(designProperty).state === "disabled",
|
|
59
|
+
type: vue_runtime_esmBundler_js.unref(designProperty).type,
|
|
60
|
+
underline: vue_runtime_esmBundler_js.unref(designProperty).underline,
|
|
61
|
+
onClick: _cache[0] || (_cache[0] = ($event) => vue_runtime_esmBundler_js.unref(pageHelperUtil.openLink)(_ctx.configure, _ctx.pageContext))
|
|
62
62
|
}, {
|
|
63
|
-
default:
|
|
64
|
-
|
|
63
|
+
default: vue_runtime_esmBundler_js.withCtx(() => [
|
|
64
|
+
vue_runtime_esmBundler_js.createTextVNode(vue_runtime_esmBundler_js.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_runtime_esmBundler_js = require("D:/MyToolbox/ws-idea/agile-builder/dev-platform/agile-builder-super-design/node_modules/.pnpm/vue@3.4.21_typescript@5.4.5/node_modules/vue/dist/vue.runtime.esm-bundler.js");
|
|
3
|
+
const _hoisted_1 = /* @__PURE__ */ vue_runtime_esmBundler_js.createElementVNode("div", { style: { "width": "100%", "height": "100%" } }, " ", -1);
|
|
4
|
+
const _sfc_main = /* @__PURE__ */ vue_runtime_esmBundler_js.defineComponent({
|
|
5
5
|
__name: "placeholder-runtime",
|
|
6
6
|
props: {
|
|
7
7
|
pageContext: {},
|
|
@@ -13,12 +13,12 @@ const _sfc_main = /* @__PURE__ */ Vue.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_runtime_esmBundler_js.resolveComponent("el-form-item");
|
|
17
|
+
return vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createBlock(_component_el_form_item, {
|
|
18
|
+
class: vue_runtime_esmBundler_js.normalizeClass(vue_runtime_esmBundler_js.unref(runtimeClass)),
|
|
19
|
+
style: vue_runtime_esmBundler_js.normalizeStyle(vue_runtime_esmBundler_js.unref(runtimeStyle))
|
|
20
20
|
}, {
|
|
21
|
-
default:
|
|
21
|
+
default: vue_runtime_esmBundler_js.withCtx(() => [
|
|
22
22
|
_hoisted_1
|
|
23
23
|
]),
|
|
24
24
|
_: 1
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const
|
|
2
|
+
const vue_runtime_esmBundler_js = require("D:/MyToolbox/ws-idea/agile-builder/dev-platform/agile-builder-super-design/node_modules/.pnpm/vue@3.4.21_typescript@5.4.5/node_modules/vue/dist/vue.runtime.esm-bundler.js");
|
|
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_runtime_esmBundler_js.defineComponent({
|
|
6
6
|
__name: "radio-runtime",
|
|
7
7
|
props: {
|
|
8
8
|
pageContext: {},
|
|
@@ -12,7 +12,7 @@ const _sfc_main = /* @__PURE__ */ Vue.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_runtime_esmBundler_js.computed({
|
|
16
16
|
get() {
|
|
17
17
|
return pageHelperUtil.getVariableValue(entity, dynamicFields);
|
|
18
18
|
},
|
|
@@ -25,7 +25,7 @@ const _sfc_main = /* @__PURE__ */ Vue.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_runtime_esmBundler_js.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.defineComponent({
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
for (let preField of preFields) {
|
|
71
|
-
|
|
71
|
+
vue_runtime_esmBundler_js.watch(entity[preField], () => {
|
|
72
72
|
monitorFieldChange();
|
|
73
73
|
});
|
|
74
74
|
}
|
|
@@ -114,32 +114,32 @@ const _sfc_main = /* @__PURE__ */ Vue.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_runtime_esmBundler_js.resolveComponent("el-radio");
|
|
118
|
+
const _component_el_radio_group = vue_runtime_esmBundler_js.resolveComponent("el-radio-group");
|
|
119
|
+
const _component_el_form_item = vue_runtime_esmBundler_js.resolveComponent("el-form-item");
|
|
120
|
+
return vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createBlock(_component_el_form_item, {
|
|
121
|
+
required: vue_runtime_esmBundler_js.unref(designProperty).required,
|
|
122
|
+
class: vue_runtime_esmBundler_js.normalizeClass(vue_runtime_esmBundler_js.unref(runtimeClass)),
|
|
123
|
+
"label-width": vue_runtime_esmBundler_js.unref(designProperty).labelWidth,
|
|
124
|
+
style: vue_runtime_esmBundler_js.normalizeStyle(vue_runtime_esmBundler_js.unref(runtimeStyle))
|
|
125
125
|
}, {
|
|
126
|
-
label:
|
|
127
|
-
|
|
126
|
+
label: vue_runtime_esmBundler_js.withCtx(() => [
|
|
127
|
+
vue_runtime_esmBundler_js.unref(designProperty).tittleShow ? (vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createElementBlock("div", {
|
|
128
128
|
key: 0,
|
|
129
|
-
style:
|
|
130
|
-
},
|
|
129
|
+
style: vue_runtime_esmBundler_js.normalizeStyle({ ...vue_runtime_esmBundler_js.unref(headerStyle) })
|
|
130
|
+
}, vue_runtime_esmBundler_js.toDisplayString(vue_runtime_esmBundler_js.unref(designProperty).title), 5)) : vue_runtime_esmBundler_js.createCommentVNode("", true)
|
|
131
131
|
]),
|
|
132
|
-
default:
|
|
133
|
-
|
|
134
|
-
disabled:
|
|
135
|
-
size:
|
|
136
|
-
onChange:
|
|
132
|
+
default: vue_runtime_esmBundler_js.withCtx(() => [
|
|
133
|
+
vue_runtime_esmBundler_js.createVNode(_component_el_radio_group, {
|
|
134
|
+
disabled: vue_runtime_esmBundler_js.unref(designProperty).state === "disabled",
|
|
135
|
+
size: vue_runtime_esmBundler_js.unref(designProperty).size,
|
|
136
|
+
onChange: vue_runtime_esmBundler_js.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_runtime_esmBundler_js.withCtx(() => [
|
|
141
|
+
(vue_runtime_esmBundler_js.openBlock(true), vue_runtime_esmBundler_js.createElementBlock(vue_runtime_esmBundler_js.Fragment, null, vue_runtime_esmBundler_js.renderList(listOptions.value, (item) => {
|
|
142
|
+
return vue_runtime_esmBundler_js.openBlock(), vue_runtime_esmBundler_js.createBlock(_component_el_radio, {
|
|
143
143
|
key: item.value,
|
|
144
144
|
value: item.value,
|
|
145
145
|
label: item.label
|