super-page-runtime 2.1.57 → 2.1.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/components/runtime/utils/api/page-expose-util.js +17 -14
- package/dist/es/components/runtime/utils/events/event-util.d.ts +1 -0
- package/dist/es/components/runtime/utils/events/event-util.js +4 -0
- package/dist/es/components/runtime/utils/events/standard-event.js +105 -37
- package/dist/es/components/runtime/utils/events/validator-util.d.ts +1 -1
- package/dist/es/components/runtime/utils/events/validator-util.js +2 -2
- package/dist/es/components/runtime/utils/table-utils.d.ts +1 -0
- package/dist/es/components/runtime/utils/table-utils.js +36 -1
- package/dist/es/components/runtime/views/assemblys/button/button/button-runtime.vue2.js +12 -2
- package/dist/es/components/runtime/views/assemblys/button/button-group/buttongroup-runtime.vue2.js +14 -1
- package/dist/es/components/runtime/views/assemblys/button/dropdown/dropdown-runtime.vue2.js +14 -2
- package/dist/es/components/runtime/views/assemblys/button/print-label/printlabel-runtime.vue2.js +16 -2
- package/dist/es/components/runtime/views/assemblys/chart/column-line/column-line-runtime.vue2.js +11 -1
- package/dist/es/components/runtime/views/assemblys/chart/table/normal-column.vue.js +13 -2
- package/dist/es/components/runtime/views/assemblys/chart/table/table-runtime.vue2.js +4 -2
- package/dist/es/components/runtime/views/assemblys/container/card/card-runtime.vue2.js +11 -1
- package/dist/es/components/runtime/views/assemblys/container/collapse/collapse-runtime.vue2.js +11 -1
- package/dist/es/components/runtime/views/assemblys/container/container/container-runtime.vue2.js +11 -1
- package/dist/es/components/runtime/views/assemblys/container/flex/flex-runtime.vue2.js +11 -1
- package/dist/es/components/runtime/views/assemblys/container/form/form-runtime.vue2.js +14 -2
- package/dist/es/components/runtime/views/assemblys/container/iframe/iframe-runtime.vue2.js +11 -1
- package/dist/es/components/runtime/views/assemblys/container/tabs/tabs-runtime.vue2.js +30 -10
- package/dist/es/components/runtime/views/assemblys/container/tools/tools-runtime.vue2.js +9 -1
- package/dist/es/components/runtime/views/assemblys/data/table/main-table-runtime.vue.js +13 -30
- package/dist/es/components/runtime/views/assemblys/data/table/sub-table-runtime.vue.js +2 -1
- package/dist/es/components/runtime/views/assemblys/form/checkbox/checkbox-runtime.vue2.js +29 -2
- package/dist/es/components/runtime/views/assemblys/form/custom/custom-runtime.vue2.js +24 -2
- package/dist/es/components/runtime/views/assemblys/form/date-picker/datepicker-runtime.vue2.js +31 -2
- package/dist/es/components/runtime/views/assemblys/form/dept-tree/depttree-runtime.vue2.js +33 -2
- package/dist/es/components/runtime/views/assemblys/form/divider/divider-runtime.vue2.js +21 -2
- package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js +26 -2
- package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js +29 -2
- package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js +27 -2
- package/dist/es/components/runtime/views/assemblys/form/label/label-runtime.vue2.js +32 -5
- package/dist/es/components/runtime/views/assemblys/form/link/link-runtime.vue2.js +29 -2
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js +1 -1
- package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js +26 -4
- package/dist/es/components/runtime/views/assemblys/form/radio/radio-runtime.vue2.js +31 -5
- package/dist/es/components/runtime/views/assemblys/form/rich-text/richtext-runtime.vue2.js +22 -3
- package/dist/es/components/runtime/views/assemblys/form/select/select-runtime.vue2.js +27 -2
- package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js +18 -1
- package/dist/es/components/runtime/views/assemblys/form/switch/switch-runtime.vue2.js +29 -4
- package/dist/es/components/runtime/views/assemblys/form/tag/tag-runtime.vue2.js +25 -2
- package/dist/es/components/runtime/views/assemblys/form/textarea/textarea-runtime.vue2.js +29 -2
- package/dist/es/components/runtime/views/super-page.vue.js +3 -3
- package/dist/es/i18n/langs/cn.js +3 -1
- package/dist/es/i18n/langs/en.js +3 -1
- package/dist/es/style.css +1 -1
- package/package.json +2 -2
package/dist/es/components/runtime/views/assemblys/form/file-upload/fileupload-runtime.vue2.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent, ref, onMounted, onUnmounted, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode } from "vue";
|
|
1
|
+
import { defineComponent, ref, onMounted, nextTick, onUnmounted, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode } from "vue";
|
|
2
2
|
import { getVariableValue, setVariableValue } from "../../../../utils/page-helper-util.js";
|
|
3
|
-
import { fileUploadBeforeUpload } from "../../../../utils/events/event-util.js";
|
|
3
|
+
import { handleAfterInitEvent, fileUploadBeforeUpload } from "../../../../utils/events/event-util.js";
|
|
4
4
|
import http from "agilebuilder-ui/src/utils/request";
|
|
5
5
|
import { FsUploadNew } from "agilebuilder-ui";
|
|
6
6
|
import eventBus from "../../../../utils/eventBus.js";
|
|
@@ -75,11 +75,31 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
75
75
|
setVariableValue(props.pageContext.entity, pathFields, uuids.join(","));
|
|
76
76
|
setVariableValue(props.pageContext.entity, nameFields, names.join(","));
|
|
77
77
|
};
|
|
78
|
+
const formItemRef = ref(null);
|
|
79
|
+
const titleRef = ref(null);
|
|
78
80
|
onMounted(() => {
|
|
79
81
|
eventBus.$on(componentId.value + "-pickFileDone", (data) => {
|
|
80
82
|
console.log("superPage4444---pickFileDone--componentId.value=", componentId.value, "data=", data);
|
|
81
83
|
fileUploadRef.value.pickFileDone(data);
|
|
82
84
|
});
|
|
85
|
+
nextTick(() => {
|
|
86
|
+
const pathFieldsValue = getVariableValue(entity, pathFields);
|
|
87
|
+
const nameFieldsValue = getVariableValue(entity, nameFields);
|
|
88
|
+
const value = { showName: nameFieldsValue, serverPath: pathFieldsValue };
|
|
89
|
+
handleAfterInitEvent(
|
|
90
|
+
value,
|
|
91
|
+
props.pageContext,
|
|
92
|
+
props.configure,
|
|
93
|
+
{
|
|
94
|
+
formItemRef: formItemRef.value,
|
|
95
|
+
componentRef: fileUploadRef.value,
|
|
96
|
+
titleRef: titleRef.value,
|
|
97
|
+
value,
|
|
98
|
+
entity: props.pageContext.entity.data,
|
|
99
|
+
pageData: props.pageContext.entity.page
|
|
100
|
+
}
|
|
101
|
+
);
|
|
102
|
+
});
|
|
83
103
|
});
|
|
84
104
|
onUnmounted(() => {
|
|
85
105
|
eventBus.$off(componentId.value + "-pickFileDone");
|
|
@@ -88,6 +108,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
88
108
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
89
109
|
return designProperty.value.tittleShow ? (openBlock(), createBlock(_component_el_form_item, {
|
|
90
110
|
key: 0,
|
|
111
|
+
ref_key: "formItemRef",
|
|
112
|
+
ref: formItemRef,
|
|
91
113
|
required: designProperty.value.required,
|
|
92
114
|
class: normalizeClass(unref(runtimeClass)),
|
|
93
115
|
"label-width": designProperty.value.labelWidth,
|
|
@@ -96,6 +118,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
96
118
|
label: withCtx(() => [
|
|
97
119
|
designProperty.value.tittleShow ? (openBlock(), createElementBlock("div", {
|
|
98
120
|
key: 0,
|
|
121
|
+
ref_key: "titleRef",
|
|
122
|
+
ref: titleRef,
|
|
99
123
|
style: normalizeStyle({ ...unref(headerStyle), ...unref(titleExceedStyle) })
|
|
100
124
|
}, toDisplayString(unref($t)(designProperty.value.title)), 5)) : createCommentVNode("", true)
|
|
101
125
|
]),
|
package/dist/es/components/runtime/views/assemblys/form/input-number/input-number-runtime.vue2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent, computed, ref, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, Fragment, createTextVNode, toDisplayString, createCommentVNode, createVNode } from "vue";
|
|
1
|
+
import { defineComponent, computed, ref, onMounted, nextTick, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, Fragment, createTextVNode, toDisplayString, createCommentVNode, createVNode } from "vue";
|
|
2
2
|
import { getFormModelFields } from "../../../../utils/page-init-util.js";
|
|
3
3
|
import { getVariableValue, setVariableValue } from "../../../../utils/page-helper-util.js";
|
|
4
|
-
import { handleFormEvent } from "../../../../utils/events/event-util.js";
|
|
4
|
+
import { handleAfterInitEvent, handleFormEvent } from "../../../../utils/events/event-util.js";
|
|
5
5
|
import _sfc_main$1 from "../common/title-suffix-element.vue.js";
|
|
6
6
|
import { $t } from "../../../../utils/i18n-util.js";
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -28,10 +28,33 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
28
28
|
const headerStyle = runtimeInfo.headerStyle;
|
|
29
29
|
const titleExceedStyle = runtimeInfo.titleExceedStyle;
|
|
30
30
|
const designProperty = ref(runtimeInfo.props ? runtimeInfo.props : {});
|
|
31
|
+
const formItemRef = ref(null);
|
|
32
|
+
const componentRef = ref(null);
|
|
33
|
+
const titleRef = ref(null);
|
|
34
|
+
onMounted(() => {
|
|
35
|
+
nextTick(() => {
|
|
36
|
+
const value = dynamicModelMethod.value;
|
|
37
|
+
handleAfterInitEvent(
|
|
38
|
+
value,
|
|
39
|
+
props.pageContext,
|
|
40
|
+
props.configure,
|
|
41
|
+
{
|
|
42
|
+
formItemRef: formItemRef.value,
|
|
43
|
+
componentRef: componentRef.value,
|
|
44
|
+
titleRef: titleRef.value,
|
|
45
|
+
value,
|
|
46
|
+
entity: props.pageContext.entity.data,
|
|
47
|
+
pageData: props.pageContext.entity.page
|
|
48
|
+
}
|
|
49
|
+
);
|
|
50
|
+
});
|
|
51
|
+
});
|
|
31
52
|
return (_ctx, _cache) => {
|
|
32
53
|
const _component_el_input_number = resolveComponent("el-input-number");
|
|
33
54
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
34
55
|
return openBlock(), createBlock(_component_el_form_item, {
|
|
56
|
+
ref_key: "formItemRef",
|
|
57
|
+
ref: formItemRef,
|
|
35
58
|
required: designProperty.value.required,
|
|
36
59
|
class: normalizeClass(unref(runtimeClass)),
|
|
37
60
|
"label-width": designProperty.value.labelWidth,
|
|
@@ -40,6 +63,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
40
63
|
label: withCtx(() => [
|
|
41
64
|
designProperty.value.tittleShow ? (openBlock(), createElementBlock("div", {
|
|
42
65
|
key: 0,
|
|
66
|
+
ref_key: "titleRef",
|
|
67
|
+
ref: titleRef,
|
|
43
68
|
style: normalizeStyle({ ...unref(headerStyle), ...unref(titleExceedStyle) })
|
|
44
69
|
}, [
|
|
45
70
|
designProperty.value.prefixType ? (openBlock(), createBlock(_sfc_main$1, {
|
|
@@ -53,6 +78,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
53
78
|
]),
|
|
54
79
|
default: withCtx(() => [
|
|
55
80
|
createVNode(_component_el_input_number, {
|
|
81
|
+
ref_key: "componentRef",
|
|
82
|
+
ref: componentRef,
|
|
56
83
|
disabled: designProperty.value.state === "disabled",
|
|
57
84
|
readonly: designProperty.value.state === "readonly",
|
|
58
85
|
controls: designProperty.value.showButton,
|
package/dist/es/components/runtime/views/assemblys/form/input-text/inputtext-runtime.vue2.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, onMounted, onUnmounted, watch, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, Fragment, createTextVNode, toDisplayString, createCommentVNode, createVNode, createSlots } from "vue";
|
|
1
|
+
import { defineComponent, ref, computed, onMounted, nextTick, onUnmounted, watch, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, Fragment, createTextVNode, toDisplayString, createCommentVNode, createVNode, createSlots } from "vue";
|
|
2
2
|
import { SuperIcon } from "agilebuilder-ui";
|
|
3
3
|
import { getFormModelFields } from "../../../../utils/page-init-util.js";
|
|
4
4
|
import { getVariableValue, setVariableValue } from "../../../../utils/page-helper-util.js";
|
|
5
|
-
import { handleFormEvent } from "../../../../utils/events/event-util.js";
|
|
5
|
+
import { handleAfterInitEvent, handleFormEvent } from "../../../../utils/events/event-util.js";
|
|
6
6
|
import { formatScanRuleSets, analysisScanValue, setScanAnalysisValue } from "../../../../utils/form/scan-util.js";
|
|
7
7
|
import _sfc_main$1 from "../common/title-suffix-element.vue.js";
|
|
8
8
|
import { isMobileBrowser } from "agilebuilder-ui/src/utils/common-util";
|
|
@@ -33,6 +33,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
33
33
|
setVariableValue(entity, dynamicFields, value);
|
|
34
34
|
}
|
|
35
35
|
});
|
|
36
|
+
const formItemRef = ref(null);
|
|
37
|
+
const componentRef = ref(null);
|
|
38
|
+
const titleRef = ref(null);
|
|
36
39
|
onMounted(() => {
|
|
37
40
|
eventBus.$on(componentId.value + "-scanDone", (data) => {
|
|
38
41
|
console.log(
|
|
@@ -43,6 +46,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
43
46
|
);
|
|
44
47
|
setValue(data.result);
|
|
45
48
|
});
|
|
49
|
+
nextTick(() => {
|
|
50
|
+
const value = dynamicModelMethod.value;
|
|
51
|
+
handleAfterInitEvent(
|
|
52
|
+
value,
|
|
53
|
+
props.pageContext,
|
|
54
|
+
props.configure,
|
|
55
|
+
{
|
|
56
|
+
formItemRef: formItemRef.value,
|
|
57
|
+
componentRef: componentRef.value,
|
|
58
|
+
titleRef: titleRef.value,
|
|
59
|
+
value,
|
|
60
|
+
entity: props.pageContext.entity.data,
|
|
61
|
+
pageData: props.pageContext.entity.page
|
|
62
|
+
}
|
|
63
|
+
);
|
|
64
|
+
});
|
|
46
65
|
});
|
|
47
66
|
onUnmounted(() => {
|
|
48
67
|
eventBus.$off(componentId.value + "-scanDone");
|
|
@@ -119,6 +138,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
119
138
|
const _component_scan_code_input_browser = resolveComponent("scan-code-input-browser");
|
|
120
139
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
121
140
|
return openBlock(), createBlock(_component_el_form_item, {
|
|
141
|
+
ref_key: "formItemRef",
|
|
142
|
+
ref: formItemRef,
|
|
122
143
|
required: designProperty.value.required ? true : false,
|
|
123
144
|
class: normalizeClass(unref(runtimeClass)),
|
|
124
145
|
"label-width": designProperty.value.labelWidth,
|
|
@@ -127,6 +148,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
127
148
|
label: withCtx(() => [
|
|
128
149
|
designProperty.value.tittleShow ? (openBlock(), createElementBlock("div", {
|
|
129
150
|
key: 0,
|
|
151
|
+
ref_key: "titleRef",
|
|
152
|
+
ref: titleRef,
|
|
130
153
|
style: normalizeStyle({ ...unref(headerStyle), ...unref(titleExceedStyle) })
|
|
131
154
|
}, [
|
|
132
155
|
designProperty.value.prefixType ? (openBlock(), createBlock(_sfc_main$1, {
|
|
@@ -140,6 +163,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
140
163
|
]),
|
|
141
164
|
default: withCtx(() => [
|
|
142
165
|
createVNode(_component_el_input, {
|
|
166
|
+
ref_key: "componentRef",
|
|
167
|
+
ref: componentRef,
|
|
143
168
|
disabled: designProperty.value.state === "disabled",
|
|
144
169
|
readonly: designProperty.value.state === "readonly",
|
|
145
170
|
size: designProperty.value.size,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, onMounted, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, normalizeStyle, createElementVNode, toDisplayString, createBlock, withCtx, createCommentVNode, createTextVNode } from "vue";
|
|
1
|
+
import { defineComponent, ref, computed, onMounted, nextTick, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, normalizeStyle, createElementVNode, toDisplayString, createBlock, withCtx, createCommentVNode, createTextVNode } from "vue";
|
|
2
2
|
import { getFormModelFields } from "../../../../utils/page-init-util.js";
|
|
3
3
|
import { getVariableValue, formatValueByType } from "../../../../utils/page-helper-util.js";
|
|
4
4
|
import { SuperIcon } from "agilebuilder-ui";
|
|
5
|
-
import { getCustomFunc, handleFormEvent } from "../../../../utils/events/event-util.js";
|
|
5
|
+
import { getCustomFunc, handleAfterInitEvent, handleFormEvent } from "../../../../utils/events/event-util.js";
|
|
6
6
|
import { $t } from "../../../../utils/i18n-util.js";
|
|
7
7
|
const _hoisted_1 = { style: { "width": "100%", "text-align": "center", "font-weight": "700", "font-size": "24px", "margin-bottom": "20px" } };
|
|
8
8
|
const _hoisted_2 = { style: { "overflow": "hidden", "white-space": "nowrap" } };
|
|
@@ -57,7 +57,26 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
57
57
|
resultValue = resultValue === void 0 || resultValue === null ? "" : resultValue;
|
|
58
58
|
return resultValue;
|
|
59
59
|
});
|
|
60
|
+
const formItemRef = ref(null);
|
|
61
|
+
const componentRef = ref(null);
|
|
62
|
+
const titleRef = ref(null);
|
|
60
63
|
onMounted(() => {
|
|
64
|
+
nextTick(() => {
|
|
65
|
+
const value = dynamicValue.value;
|
|
66
|
+
handleAfterInitEvent(
|
|
67
|
+
value,
|
|
68
|
+
props.pageContext,
|
|
69
|
+
props.configure,
|
|
70
|
+
{
|
|
71
|
+
formItemRef: formItemRef.value,
|
|
72
|
+
componentRef: componentRef.value,
|
|
73
|
+
titleRef: titleRef.value,
|
|
74
|
+
value,
|
|
75
|
+
entity: props.pageContext.entity.data,
|
|
76
|
+
pageData: props.pageContext.entity.page
|
|
77
|
+
}
|
|
78
|
+
);
|
|
79
|
+
});
|
|
61
80
|
});
|
|
62
81
|
function updateOptions(newOptions) {
|
|
63
82
|
listOptions.value = newOptions ? newOptions : [];
|
|
@@ -69,12 +88,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
69
88
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
70
89
|
return designProperty.value.whetherTittle ? (openBlock(), createElementBlock("div", {
|
|
71
90
|
key: 0,
|
|
91
|
+
ref_key: "titleRef",
|
|
92
|
+
ref: titleRef,
|
|
72
93
|
class: normalizeClass(unref(runtimeClass)),
|
|
73
94
|
style: normalizeStyle(unref(runtimeStyle))
|
|
74
95
|
}, [
|
|
75
96
|
createElementVNode("div", _hoisted_1, toDisplayString(designProperty.value.title), 1)
|
|
76
97
|
], 6)) : designProperty.value.tittleShow ? (openBlock(), createBlock(_component_el_form_item, {
|
|
77
98
|
key: 1,
|
|
99
|
+
ref_key: "formItemRef",
|
|
100
|
+
ref: formItemRef,
|
|
78
101
|
required: designProperty.value.required ? true : false,
|
|
79
102
|
class: normalizeClass(unref(runtimeClass)),
|
|
80
103
|
"label-width": designProperty.value.labelWidth,
|
|
@@ -83,12 +106,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
83
106
|
label: withCtx(() => [
|
|
84
107
|
designProperty.value.tittleShow ? (openBlock(), createElementBlock("div", {
|
|
85
108
|
key: 0,
|
|
109
|
+
ref_key: "titleRef",
|
|
110
|
+
ref: titleRef,
|
|
86
111
|
style: normalizeStyle({ ...unref(headerStyle), ...unref(titleExceedStyle) })
|
|
87
112
|
}, toDisplayString(unref($t)(designProperty.value.title)), 5)) : createCommentVNode("", true)
|
|
88
113
|
]),
|
|
89
114
|
default: withCtx(() => [
|
|
90
115
|
createElementVNode("div", {
|
|
91
116
|
style: { "display": "flex", "width": "100%", "justify-content": "space-between" },
|
|
117
|
+
ref_key: "componentRef",
|
|
118
|
+
ref: componentRef,
|
|
92
119
|
onClick: _cache[0] || (_cache[0] = ($event) => unref(handleFormEvent)($event, _ctx.pageContext, _ctx.configure, "click"))
|
|
93
120
|
}, [
|
|
94
121
|
createElementVNode("span", _hoisted_2, [
|
|
@@ -124,7 +151,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
124
151
|
}, null, 8, ["iconType", "iconValue"])) : createCommentVNode("", true),
|
|
125
152
|
createElementVNode("span", null, " " + toDisplayString(unref($t)(designProperty.value.sufText)), 1)
|
|
126
153
|
], 2)) : createCommentVNode("", true)
|
|
127
|
-
])
|
|
154
|
+
], 512)
|
|
128
155
|
]),
|
|
129
156
|
_: 1
|
|
130
157
|
}, 8, ["required", "class", "label-width", "style"])) : (openBlock(), createElementBlock("span", {
|
|
@@ -135,12 +162,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
135
162
|
createElementVNode("span", {
|
|
136
163
|
style: { "overflow": "hidden", "white-space": "nowrap" },
|
|
137
164
|
title: dynamicValue.value
|
|
138
|
-
}, toDisplayString(designProperty.value.prefixIcon) + " " + toDisplayString(dynamicValue.value)
|
|
165
|
+
}, toDisplayString(designProperty.value.prefixIcon) + " " + toDisplayString(dynamicValue.value), 9, _hoisted_3),
|
|
139
166
|
designProperty.value.suffixTxt ? (openBlock(), createElementBlock("span", {
|
|
140
167
|
key: 0,
|
|
141
168
|
class: normalizeClass(unref(appendClass)),
|
|
142
169
|
style: normalizeStyle(unref(appendStyle))
|
|
143
|
-
}, toDisplayString(designProperty.value.suffixTxt)
|
|
170
|
+
}, toDisplayString(designProperty.value.suffixTxt), 7)) : createCommentVNode("", true)
|
|
144
171
|
]));
|
|
145
172
|
};
|
|
146
173
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode, createTextVNode } from "vue";
|
|
1
|
+
import { defineComponent, ref, computed, onMounted, nextTick, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode, createTextVNode } from "vue";
|
|
2
2
|
import { getFormModelFields } from "../../../../utils/page-init-util.js";
|
|
3
3
|
import { getVariableValue } from "../../../../utils/page-helper-util.js";
|
|
4
|
-
import { handleEvent } from "../../../../utils/events/event-util.js";
|
|
4
|
+
import { handleAfterInitEvent, handleEvent } from "../../../../utils/events/event-util.js";
|
|
5
5
|
import { $t } from "../../../../utils/i18n-util.js";
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "link-runtime",
|
|
@@ -37,11 +37,34 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
37
37
|
return tooltipVariable.replace(/\${value}/g, resultValue);
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
|
+
const formItemRef = ref(null);
|
|
41
|
+
const componentRef = ref(null);
|
|
42
|
+
const titleRef = ref(null);
|
|
43
|
+
onMounted(() => {
|
|
44
|
+
nextTick(() => {
|
|
45
|
+
const value = dynamicValue.value;
|
|
46
|
+
handleAfterInitEvent(
|
|
47
|
+
value,
|
|
48
|
+
props.pageContext,
|
|
49
|
+
props.configure,
|
|
50
|
+
{
|
|
51
|
+
formItemRef: formItemRef.value,
|
|
52
|
+
componentRef: componentRef.value,
|
|
53
|
+
titleRef: titleRef.value,
|
|
54
|
+
value,
|
|
55
|
+
entity: props.pageContext.entity.data,
|
|
56
|
+
pageData: props.pageContext.entity.page
|
|
57
|
+
}
|
|
58
|
+
);
|
|
59
|
+
});
|
|
60
|
+
});
|
|
40
61
|
return (_ctx, _cache) => {
|
|
41
62
|
const _component_el_link = resolveComponent("el-link");
|
|
42
63
|
const _component_el_tooltip = resolveComponent("el-tooltip");
|
|
43
64
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
44
65
|
return openBlock(), createBlock(_component_el_form_item, {
|
|
66
|
+
ref_key: "formItemRef",
|
|
67
|
+
ref: formItemRef,
|
|
45
68
|
class: normalizeClass(unref(runtimeClass)),
|
|
46
69
|
"label-width": designProperty.value.labelWidth,
|
|
47
70
|
style: normalizeStyle(unref(runtimeStyle))
|
|
@@ -49,6 +72,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
49
72
|
label: withCtx(() => [
|
|
50
73
|
designProperty.value.tittleShow ? (openBlock(), createElementBlock("div", {
|
|
51
74
|
key: 0,
|
|
75
|
+
ref_key: "titleRef",
|
|
76
|
+
ref: titleRef,
|
|
52
77
|
style: normalizeStyle({ ...unref(headerStyle) })
|
|
53
78
|
}, toDisplayString(unref($t)(designProperty.value.title)), 5)) : createCommentVNode("", true)
|
|
54
79
|
]),
|
|
@@ -59,6 +84,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
59
84
|
}, {
|
|
60
85
|
default: withCtx(() => [
|
|
61
86
|
createVNode(_component_el_link, {
|
|
87
|
+
ref_key: "componentRef",
|
|
88
|
+
ref: componentRef,
|
|
62
89
|
disabled: designProperty.value.state === "disabled",
|
|
63
90
|
type: designProperty.value.type,
|
|
64
91
|
underline: designProperty.value.underline,
|
package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./placeholder-runtime.vue2.js";
|
|
2
2
|
import "./placeholder-runtime.vue3.js";
|
|
3
3
|
import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const placeholderRuntime = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const placeholderRuntime = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-96fc65d8"]]);
|
|
5
5
|
export {
|
|
6
6
|
placeholderRuntime as default
|
|
7
7
|
};
|
package/dist/es/components/runtime/views/assemblys/form/placeholder/placeholder-runtime.vue2.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { defineComponent, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx,
|
|
2
|
-
|
|
3
|
-
const _hoisted_1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { style: { "width": "100%", "height": "100%" } }, " ", -1));
|
|
1
|
+
import { defineComponent, ref, onMounted, nextTick, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementVNode } from "vue";
|
|
2
|
+
import { handleAfterInitEvent } from "../../../../utils/events/event-util.js";
|
|
4
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
4
|
__name: "placeholder-runtime",
|
|
6
5
|
props: {
|
|
@@ -12,14 +11,37 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
12
11
|
const runtimeInfo = props.configure.runtime ? props.configure.runtime : {};
|
|
13
12
|
const runtimeStyle = runtimeInfo.style;
|
|
14
13
|
const runtimeClass = runtimeInfo.class;
|
|
14
|
+
const formItemRef = ref(null);
|
|
15
|
+
const componentRef = ref(null);
|
|
16
|
+
onMounted(() => {
|
|
17
|
+
nextTick(() => {
|
|
18
|
+
handleAfterInitEvent(
|
|
19
|
+
null,
|
|
20
|
+
props.pageContext,
|
|
21
|
+
props.configure,
|
|
22
|
+
{
|
|
23
|
+
formItemRef: formItemRef.value,
|
|
24
|
+
componentRef: componentRef.value,
|
|
25
|
+
entity: props.pageContext.entity.data,
|
|
26
|
+
pageData: props.pageContext.entity.page
|
|
27
|
+
}
|
|
28
|
+
);
|
|
29
|
+
});
|
|
30
|
+
});
|
|
15
31
|
return (_ctx, _cache) => {
|
|
16
32
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
17
33
|
return openBlock(), createBlock(_component_el_form_item, {
|
|
34
|
+
ref_key: "formItemRef",
|
|
35
|
+
ref: formItemRef,
|
|
18
36
|
class: normalizeClass(unref(runtimeClass)),
|
|
19
37
|
style: normalizeStyle(unref(runtimeStyle))
|
|
20
38
|
}, {
|
|
21
39
|
default: withCtx(() => [
|
|
22
|
-
|
|
40
|
+
createElementVNode("div", {
|
|
41
|
+
ref_key: "componentRef",
|
|
42
|
+
ref: componentRef,
|
|
43
|
+
style: { "width": "100%", "height": "100%" }
|
|
44
|
+
}, " ", 512)
|
|
23
45
|
]),
|
|
24
46
|
_: 1
|
|
25
47
|
}, 8, ["class", "style"]);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent, computed, ref, watch, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode, Fragment, renderList } from "vue";
|
|
1
|
+
import { defineComponent, computed, ref, watch, onMounted, nextTick, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, toDisplayString, createCommentVNode, createVNode, Fragment, renderList, createTextVNode } from "vue";
|
|
2
2
|
import { getVariableValue, setVariableValue, getOptionDatasFromPage, autoSetAfterSelect, queryOptionDatasources } from "../../../../utils/page-helper-util.js";
|
|
3
3
|
import { getFormModelFields } from "../../../../utils/page-init-util.js";
|
|
4
|
-
import { handleFormEvent } from "../../../../utils/events/event-util.js";
|
|
4
|
+
import { handleFormEvent, handleAfterInitEvent } from "../../../../utils/events/event-util.js";
|
|
5
5
|
import { $t } from "../../../../utils/i18n-util.js";
|
|
6
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "radio-runtime",
|
|
@@ -117,6 +117,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
117
117
|
function updateOptions(newOptions) {
|
|
118
118
|
listOptions.value = newOptions ? newOptions : [];
|
|
119
119
|
}
|
|
120
|
+
const formItemRef = ref(null);
|
|
121
|
+
const componentRef = ref(null);
|
|
122
|
+
const titleRef = ref(null);
|
|
123
|
+
onMounted(() => {
|
|
124
|
+
nextTick(() => {
|
|
125
|
+
const value = dynamicModelMethod.value;
|
|
126
|
+
handleAfterInitEvent(value, props.pageContext, props.configure, {
|
|
127
|
+
formItemRef: formItemRef.value,
|
|
128
|
+
componentRef: componentRef.value,
|
|
129
|
+
titleRef: titleRef.value,
|
|
130
|
+
value,
|
|
131
|
+
entity: props.pageContext.entity.data,
|
|
132
|
+
pageData: props.pageContext.entity.page
|
|
133
|
+
});
|
|
134
|
+
});
|
|
135
|
+
});
|
|
120
136
|
__expose({
|
|
121
137
|
updateOptions
|
|
122
138
|
});
|
|
@@ -125,6 +141,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
125
141
|
const _component_el_radio_group = resolveComponent("el-radio-group");
|
|
126
142
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
127
143
|
return openBlock(), createBlock(_component_el_form_item, {
|
|
144
|
+
ref_key: "formItemRef",
|
|
145
|
+
ref: formItemRef,
|
|
128
146
|
required: designProperty.value.required,
|
|
129
147
|
class: normalizeClass(unref(runtimeClass)),
|
|
130
148
|
"label-width": designProperty.value.labelWidth,
|
|
@@ -133,11 +151,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
133
151
|
label: withCtx(() => [
|
|
134
152
|
designProperty.value.tittleShow ? (openBlock(), createElementBlock("div", {
|
|
135
153
|
key: 0,
|
|
154
|
+
ref_key: "titleRef",
|
|
155
|
+
ref: titleRef,
|
|
136
156
|
style: normalizeStyle({ ...unref(headerStyle), ...unref(titleExceedStyle) })
|
|
137
157
|
}, toDisplayString(unref($t)(designProperty.value.title)), 5)) : createCommentVNode("", true)
|
|
138
158
|
]),
|
|
139
159
|
default: withCtx(() => [
|
|
140
160
|
createVNode(_component_el_radio_group, {
|
|
161
|
+
ref_key: "componentRef",
|
|
162
|
+
ref: componentRef,
|
|
141
163
|
disabled: designProperty.value.state === "disabled",
|
|
142
164
|
size: designProperty.value.size,
|
|
143
165
|
onChange: designProperty.value.changeMethod,
|
|
@@ -148,12 +170,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
148
170
|
(openBlock(true), createElementBlock(Fragment, null, renderList(listOptions.value, (item) => {
|
|
149
171
|
return openBlock(), createBlock(_component_el_radio, {
|
|
150
172
|
key: item.value,
|
|
151
|
-
|
|
152
|
-
label: item.label,
|
|
173
|
+
label: item.value,
|
|
153
174
|
onClick: ($event) => unref(handleFormEvent)(item.value, _ctx.pageContext, _ctx.configure, "click", {
|
|
154
175
|
values: dynamicModelMethod.value
|
|
155
176
|
})
|
|
156
|
-
},
|
|
177
|
+
}, {
|
|
178
|
+
default: withCtx(() => [
|
|
179
|
+
createTextVNode(toDisplayString(item.label), 1)
|
|
180
|
+
]),
|
|
181
|
+
_: 2
|
|
182
|
+
}, 1032, ["label", "onClick"]);
|
|
157
183
|
}), 128))
|
|
158
184
|
]),
|
|
159
185
|
_: 1
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent, ref, watch, onMounted, onBeforeUnmount, resolveComponent, openBlock, createElementBlock, Fragment, createBlock, normalizeClass, unref, normalizeStyle, withCtx, toDisplayString, createCommentVNode, createElementVNode } from "vue";
|
|
1
|
+
import { defineComponent, ref, watch, onMounted, nextTick, onBeforeUnmount, resolveComponent, openBlock, createElementBlock, Fragment, createBlock, normalizeClass, unref, normalizeStyle, withCtx, toDisplayString, createCommentVNode, createElementVNode } from "vue";
|
|
2
2
|
import { getFormModelFields } from "../../../../utils/page-init-util.js";
|
|
3
|
-
import { formatVariableValue, setVariableValue } from "../../../../utils/page-helper-util.js";
|
|
3
|
+
import { formatVariableValue, setVariableValue, getVariableValue } from "../../../../utils/page-helper-util.js";
|
|
4
4
|
import Quill from "quill";
|
|
5
5
|
import "quill/dist/quill.snow.css";
|
|
6
|
-
import { handleFormEvent } from "../../../../utils/events/event-util.js";
|
|
6
|
+
import { handleAfterInitEvent, handleFormEvent } from "../../../../utils/events/event-util.js";
|
|
7
7
|
import http from "agilebuilder-ui/src/utils/request";
|
|
8
8
|
import { $t } from "../../../../utils/i18n-util.js";
|
|
9
9
|
import { getToken } from "agilebuilder-ui/src/utils/auth";
|
|
@@ -107,6 +107,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
107
107
|
}
|
|
108
108
|
const previewList = ref([]);
|
|
109
109
|
const showViewer = ref(false);
|
|
110
|
+
const formItemRef = ref(null);
|
|
111
|
+
const componentRef = ref(null);
|
|
112
|
+
const titleRef = ref(null);
|
|
110
113
|
onMounted(() => {
|
|
111
114
|
var _a;
|
|
112
115
|
quill = new Quill(quillEditorRef.value, option.value);
|
|
@@ -154,6 +157,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
154
157
|
}
|
|
155
158
|
});
|
|
156
159
|
updateEditorHeight();
|
|
160
|
+
nextTick(() => {
|
|
161
|
+
const value = getVariableValue(entity, dynamicFields);
|
|
162
|
+
handleAfterInitEvent(
|
|
163
|
+
value,
|
|
164
|
+
props.pageContext,
|
|
165
|
+
props.configure,
|
|
166
|
+
{
|
|
167
|
+
formItemRef: formItemRef.value,
|
|
168
|
+
componentRef: componentRef.value,
|
|
169
|
+
titleRef: titleRef.value,
|
|
170
|
+
value,
|
|
171
|
+
entity: props.pageContext.entity.data,
|
|
172
|
+
pageData: props.pageContext.entity.page
|
|
173
|
+
}
|
|
174
|
+
);
|
|
175
|
+
});
|
|
157
176
|
});
|
|
158
177
|
onBeforeUnmount(() => {
|
|
159
178
|
if (quillEditorRef.value) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, watch, onMounted, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, Fragment, createTextVNode, toDisplayString, createCommentVNode, createVNode, renderList, createElementVNode } from "vue";
|
|
1
|
+
import { defineComponent, ref, computed, watch, onMounted, nextTick, resolveComponent, openBlock, createBlock, normalizeClass, unref, normalizeStyle, withCtx, createElementBlock, Fragment, createTextVNode, toDisplayString, createCommentVNode, createVNode, renderList, createElementVNode } from "vue";
|
|
2
2
|
import { getVariableValue, setVariableValue, getOptionDatasFromPage, queryOptionDatasources, autoSetAfterSelect } from "../../../../utils/page-helper-util.js";
|
|
3
3
|
import { getFormModelFields } from "../../../../utils/page-init-util.js";
|
|
4
|
-
import { handleFormEvent } from "../../../../utils/events/event-util.js";
|
|
4
|
+
import { handleFormEvent, handleAfterInitEvent } from "../../../../utils/events/event-util.js";
|
|
5
5
|
import _sfc_main$1 from "../common/title-suffix-element.vue.js";
|
|
6
6
|
import { $t } from "../../../../utils/i18n-util.js";
|
|
7
7
|
const _hoisted_1 = { style: { "float": "left" } };
|
|
@@ -160,7 +160,26 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
160
160
|
function updateOptions(newOptions) {
|
|
161
161
|
listOptions.value = newOptions ? newOptions : [];
|
|
162
162
|
}
|
|
163
|
+
const formItemRef = ref(null);
|
|
164
|
+
const componentRef = ref(null);
|
|
165
|
+
const titleRef = ref(null);
|
|
163
166
|
onMounted(() => {
|
|
167
|
+
nextTick(() => {
|
|
168
|
+
const value = dynamicModelMethod.value;
|
|
169
|
+
handleAfterInitEvent(
|
|
170
|
+
value,
|
|
171
|
+
props.pageContext,
|
|
172
|
+
props.configure,
|
|
173
|
+
{
|
|
174
|
+
formItemRef: formItemRef.value,
|
|
175
|
+
componentRef: componentRef.value,
|
|
176
|
+
titleRef: titleRef.value,
|
|
177
|
+
value,
|
|
178
|
+
entity: props.pageContext.entity.data,
|
|
179
|
+
pageData: props.pageContext.entity.page
|
|
180
|
+
}
|
|
181
|
+
);
|
|
182
|
+
});
|
|
164
183
|
});
|
|
165
184
|
__expose({
|
|
166
185
|
updateOptions
|
|
@@ -170,6 +189,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
170
189
|
const _component_el_select = resolveComponent("el-select");
|
|
171
190
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
172
191
|
return openBlock(), createBlock(_component_el_form_item, {
|
|
192
|
+
ref_key: "formItemRef",
|
|
193
|
+
ref: formItemRef,
|
|
173
194
|
required: designProperty.value.required ? true : false,
|
|
174
195
|
class: normalizeClass(unref(runtimeClass)),
|
|
175
196
|
"label-width": designProperty.value.labelWidth,
|
|
@@ -178,6 +199,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
178
199
|
label: withCtx(() => [
|
|
179
200
|
designProperty.value.tittleShow ? (openBlock(), createElementBlock("div", {
|
|
180
201
|
key: 0,
|
|
202
|
+
ref_key: "titleRef",
|
|
203
|
+
ref: titleRef,
|
|
181
204
|
style: normalizeStyle({ ...unref(headerStyle), ...unref(titleExceedStyle) })
|
|
182
205
|
}, [
|
|
183
206
|
designProperty.value.prefixType ? (openBlock(), createBlock(_sfc_main$1, {
|
|
@@ -191,6 +214,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
191
214
|
]),
|
|
192
215
|
default: withCtx(() => [
|
|
193
216
|
createVNode(_component_el_select, {
|
|
217
|
+
ref_key: "componentRef",
|
|
218
|
+
ref: componentRef,
|
|
194
219
|
style: { "width": "100%" },
|
|
195
220
|
disabled: designProperty.value.state === "disabled",
|
|
196
221
|
size: designProperty.value.size,
|
package/dist/es/components/runtime/views/assemblys/form/separatelabel/separatelabel-runtime.vue2.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { defineComponent, ref, openBlock, createElementBlock, normalizeStyle, unref, normalizeClass, createElementVNode, createBlock, createCommentVNode, createTextVNode, toDisplayString } from "vue";
|
|
1
|
+
import { defineComponent, ref, onMounted, nextTick, openBlock, createElementBlock, normalizeStyle, unref, normalizeClass, createElementVNode, createBlock, createCommentVNode, createTextVNode, toDisplayString } from "vue";
|
|
2
2
|
import { SuperIcon } from "agilebuilder-ui";
|
|
3
3
|
import { $t } from "../../../../utils/i18n-util.js";
|
|
4
|
+
import { handleAfterInitEvent } from "../../../../utils/events/event-util.js";
|
|
4
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
6
|
__name: "separatelabel-runtime",
|
|
6
7
|
props: {
|
|
@@ -14,6 +15,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
14
15
|
const runtimeStyle = runtimeInfo.style;
|
|
15
16
|
const runtimeClass = runtimeInfo.class;
|
|
16
17
|
const headerStyle = runtimeInfo.headerStyle;
|
|
18
|
+
onMounted(() => {
|
|
19
|
+
nextTick(() => {
|
|
20
|
+
const value = $t(props.configure.props.base.title);
|
|
21
|
+
handleAfterInitEvent(
|
|
22
|
+
value,
|
|
23
|
+
props.pageContext,
|
|
24
|
+
props.configure,
|
|
25
|
+
{
|
|
26
|
+
componentRef: thisRef.value,
|
|
27
|
+
value,
|
|
28
|
+
entity: props.pageContext.entity.data,
|
|
29
|
+
pageData: props.pageContext.entity.page
|
|
30
|
+
}
|
|
31
|
+
);
|
|
32
|
+
});
|
|
33
|
+
});
|
|
17
34
|
__expose({});
|
|
18
35
|
return (_ctx, _cache) => {
|
|
19
36
|
return openBlock(), createElementBlock("div", {
|