super-page-designer 2.0.79 → 2.0.82
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/assets/design-attr.css.js +1 -0
- package/dist/es/assets/fonts/iconfont.css.js +1 -0
- package/dist/es/components/design/utils/assemblys-config.js +25 -24
- package/dist/es/components/design/utils/chart-design-util.js +2 -1
- package/dist/es/components/design/utils/form-design-util.d.ts +2 -1
- package/dist/es/components/design/utils/form-design-util.js +78 -5
- package/dist/es/components/design/utils/interfaces/page-design-types.d.ts +1 -0
- package/dist/es/components/design/utils/page-design-util.d.ts +1 -0
- package/dist/es/components/design/utils/page-design-util.js +27 -0
- package/dist/es/components/design/utils/page-table-util.js +19 -3
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/button/button-group/buttongroup-design.vue2.js +3 -18
- package/dist/es/components/design/views/assemblys/button/component/combination.vue.js +10 -9
- package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/component/journal-set-dialog.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/button/component/set-dialog.vue.js +13 -6
- package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/dropdown/dropdown-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/export-pdf/exportpdf-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/chart/column-line/column-line-design.vue2.js +2 -0
- package/dist/es/components/design/views/assemblys/chart/common/common-attr-groupby.vue.js +4 -2
- package/dist/es/components/design/views/assemblys/chart/gauge/series/styles/style-axislabel.vue.js +2 -1
- package/dist/es/components/design/views/assemblys/common/common-advanced-basic-showcondition.vue.js +2 -1
- package/dist/es/components/design/views/assemblys/common/common-variable-bind-option.js +4 -0
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.d.ts +1 -1
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue2.js +705 -0
- package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +1 -698
- package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +9 -5
- package/dist/es/components/design/views/assemblys/common/state-button.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/common/state-button.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/container/card/card-design.vue2.js +3 -20
- package/dist/es/components/design/views/assemblys/container/collapse/collapse-design.vue2.js +3 -20
- package/dist/es/components/design/views/assemblys/container/container/container-design.vue2.js +3 -20
- package/dist/es/components/design/views/assemblys/container/flex/flex-design.vue2.js +3 -20
- package/dist/es/components/design/views/assemblys/container/form/form-design.vue2.js +3 -20
- package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue2.js +4 -20
- package/dist/es/components/design/views/assemblys/container/tools/tools-design.vue2.js +3 -20
- package/dist/es/components/design/views/assemblys/data/bar-code/barcode-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/bar-code/barcode-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/data/component/column-config.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/data/component/configuration-value.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +2 -3
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/data/component/dynamic-column.vue.js +3 -5
- package/dist/es/components/design/views/assemblys/data/component/formatting.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/querySetting.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/row-backgroud-color.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/row-backgroud-color.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/data/component/variate-select.vue.js +2 -1
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/table-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/table-attr.vue2.js +16 -16
- package/dist/es/components/design/views/assemblys/data/table/table-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue.js +3 -3
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +5 -3
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue4.js +1 -0
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +5 -1560
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +1860 -1
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +5 -2
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-base.vue.js +9 -12
- package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/common/attr-event.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/attr-event.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/common/attr-header.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/attr-header.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/common/condition.vue.js +11 -7
- package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/form/common/data-origin.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/form/common/data-origin.vue2.js +36 -92
- package/dist/es/components/design/views/assemblys/form/common/data-origin.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue.js +1 -152
- package/dist/es/components/design/views/assemblys/form/common/dataorigin-input-table.vue2.js +152 -1
- package/dist/es/components/design/views/assemblys/form/common/dimension-input.vue.js +1 -0
- package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue2.js +217 -0
- package/dist/es/components/design/views/assemblys/form/common/icon-set-dialog.vue3.js +1 -217
- package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +2 -1
- package/dist/es/components/design/views/assemblys/form/custom/custom-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/custom/custom-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/custom/custom-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/custom/custom-design.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/custom/custom-design.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +13 -14
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-design.vue2.js +5 -0
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +9 -12
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/divider/divider-attr-base.vue.js +2 -1
- package/dist/es/components/design/views/assemblys/form/divider/divider-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/divider/divider-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +5 -10
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +7 -11
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +7 -11
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/label/label-attr-base.vue.js +7 -11
- package/dist/es/components/design/views/assemblys/form/label/label-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/label/label-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/link/link-attr-base.vue.js +7 -11
- package/dist/es/components/design/views/assemblys/form/placeholder/placeholder-attr-base.vue.js +5 -10
- package/dist/es/components/design/views/assemblys/form/placeholder/placeholder-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/placeholder/placeholder-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/radio/radio-attr-base.vue.js +7 -11
- package/dist/es/components/design/views/assemblys/form/radio/radio-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/radio/radio-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +7 -11
- package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +7 -11
- package/dist/es/components/design/views/assemblys/form/select/select-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/select/select-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/select/select-design.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/select/select-design.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +7 -11
- package/dist/es/components/design/views/assemblys/form/switch/switch-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/switch/switch-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/switch/switch-design.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/switch/switch-design.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/tag/tag-attr-base.vue.js +7 -11
- package/dist/es/components/design/views/assemblys/form/tag/tag-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/tag/tag-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr-base.vue.js +7 -11
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.d.ts +9 -0
- package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.js +21 -10
- package/dist/es/components/design/views/assemblys/page/component/weight-field-input.vue.js +2 -1
- package/dist/es/components/design/views/assemblys/page/page-attr-advanced.vue.js +8 -3
- package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.js +9 -7
- package/dist/es/components/design/views/assemblys/workflow/picture-flow/pictureflow-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/workflow/picture-flow/pictureflow-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/workflow/picture-flow/pictureflow-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/workflow/text-history/texthistory-attr-base.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/workflow/text-history/texthistory-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/workflow/text-history/texthistory-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-attr.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/workflow/workflow-button/workflowbutton-attr.vue3.js +1 -0
- package/dist/es/components/design/views/design/page-design.vue.js +8 -2
- package/dist/es/components/design/views/design/page-event/config.vue.js +1 -0
- package/dist/es/components/design/views/design/page-event/config.vue2.js +1 -1
- package/dist/es/components/design/views/design/page-event/config.vue3.js +2 -1
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +32 -3
- package/dist/es/components/design/views/design/view/attr-container.vue.js +1 -1
- package/dist/es/components/design/views/design/view/page-switch.vue.js +2 -2
- package/dist/es/components/design/views/design/view/page-switch.vue2.js +1 -3
- package/dist/es/components/design/views/design/view/page-switch.vue3.js +1 -0
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +4 -21
- package/dist/es/index.js +2 -2
- package/dist/es/stores/page-store.js +2 -1
- package/dist/es/style.css +189 -184
- package/package.json +4 -4
package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createCommentVNode, createTextVNode, withDirectives, vShow } from "vue";
|
|
2
2
|
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
3
|
-
import {
|
|
3
|
+
import { componentNameChange } from "../../../../utils/form-design-util.js";
|
|
4
4
|
import _sfc_main$5 from "../common/verification.vue.js";
|
|
5
5
|
import _sfc_main$6 from "../../common/common-attr-size.vue.js";
|
|
6
6
|
import _sfc_main$3 from "../common/pre-suffix.vue.js";
|
|
@@ -9,7 +9,6 @@ import BindVariable from "../../common/common-variable-bind.vue.js";
|
|
|
9
9
|
import _sfc_main$1 from "../../common/common-function-code.vue.js";
|
|
10
10
|
import _sfc_main$4 from "../common/suffixmodule.vue.js";
|
|
11
11
|
import _sfc_main$2 from "../common/title-suffix.vue.js";
|
|
12
|
-
import { tableResetConfigIndo } from "../../../../utils/page-table-util.js";
|
|
13
12
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
14
13
|
const _hoisted_2 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
15
14
|
const _hoisted_3 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
@@ -31,6 +30,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
31
30
|
emits: ["changeAssembly"],
|
|
32
31
|
setup(__props, { emit: __emit }) {
|
|
33
32
|
const props = __props;
|
|
33
|
+
const componentName = ref(props.configure.name);
|
|
34
34
|
const emit = __emit;
|
|
35
35
|
if (!props.configure.props.base) {
|
|
36
36
|
props.configure.props.base = { prop: "" };
|
|
@@ -49,12 +49,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
49
49
|
isTable.value = true;
|
|
50
50
|
}
|
|
51
51
|
function nameChange(val) {
|
|
52
|
-
|
|
53
|
-
tableResetConfigIndo(props.configure, val);
|
|
54
|
-
} else {
|
|
55
|
-
resetConfigIndo(props.configure, val);
|
|
56
|
-
}
|
|
57
|
-
emit("changeAssembly", props.configure);
|
|
52
|
+
componentNameChange(props.configure, val, emit);
|
|
58
53
|
}
|
|
59
54
|
const openCollapseItems = ref(["base"]);
|
|
60
55
|
const BarCodeRuleOff = ref(false);
|
|
@@ -110,8 +105,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
110
105
|
}, {
|
|
111
106
|
default: withCtx(() => [
|
|
112
107
|
createVNode(_component_el_select, {
|
|
113
|
-
modelValue:
|
|
114
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) =>
|
|
108
|
+
modelValue: componentName.value,
|
|
109
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => componentName.value = $event),
|
|
115
110
|
onChange: nameChange,
|
|
116
111
|
placeholder: "请选择"
|
|
117
112
|
}, {
|
|
@@ -164,10 +159,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
164
159
|
}, {
|
|
165
160
|
default: withCtx(() => [
|
|
166
161
|
(openBlock(), createBlock(BindVariable, {
|
|
162
|
+
isTable: __props.configure.isTable,
|
|
167
163
|
key: __props.configure.uuid,
|
|
168
164
|
modelValue: __props.configure.props.base.defaultValue,
|
|
169
165
|
"onUpdate:modelValue": afterBindDefaultValue
|
|
170
|
-
}, null, 8, ["modelValue"]))
|
|
166
|
+
}, null, 8, ["isTable", "modelValue"]))
|
|
171
167
|
]),
|
|
172
168
|
_: 1
|
|
173
169
|
}),
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createCommentVNode, createTextVNode, withDirectives, vShow } from "vue";
|
|
2
2
|
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
3
|
-
import {
|
|
3
|
+
import { componentNameChange } from "../../../../utils/form-design-util.js";
|
|
4
4
|
import _sfc_main$4 from "../../common/common-attr-size.vue.js";
|
|
5
5
|
import _sfc_main$3 from "../common/pre-suffix.vue.js";
|
|
6
6
|
import BindVariable from "../../common/common-variable-bind.vue.js";
|
|
7
7
|
import _sfc_main$2 from "../common/data-format.vue.js";
|
|
8
8
|
import _sfc_main$1 from "../../common/common-function-code.vue.js";
|
|
9
|
-
import { tableResetConfigIndo } from "../../../../utils/page-table-util.js";
|
|
10
9
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
11
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
12
11
|
__name: "label-attr-base",
|
|
@@ -23,6 +22,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
23
22
|
if (!props.configure.props.preSuffix) {
|
|
24
23
|
props.configure.props.preSuffix = {};
|
|
25
24
|
}
|
|
25
|
+
const componentName = ref(props.configure.name);
|
|
26
26
|
const emit = __emit;
|
|
27
27
|
const openCollapseItems = ref(["base"]);
|
|
28
28
|
const isTable = ref(false);
|
|
@@ -36,12 +36,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
function nameChange(val) {
|
|
39
|
-
|
|
40
|
-
tableResetConfigIndo(props.configure, val);
|
|
41
|
-
} else {
|
|
42
|
-
resetConfigIndo(props.configure, val);
|
|
43
|
-
}
|
|
44
|
-
emit("changeAssembly", props.configure);
|
|
39
|
+
componentNameChange(props.configure, val, emit);
|
|
45
40
|
}
|
|
46
41
|
function afterBindDefaultValue(modelValue) {
|
|
47
42
|
props.configure.props.base.defaultValue = modelValue;
|
|
@@ -81,8 +76,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
81
76
|
}, {
|
|
82
77
|
default: withCtx(() => [
|
|
83
78
|
createVNode(_component_el_select, {
|
|
84
|
-
modelValue:
|
|
85
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) =>
|
|
79
|
+
modelValue: componentName.value,
|
|
80
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => componentName.value = $event),
|
|
86
81
|
onChange: nameChange,
|
|
87
82
|
placeholder: "请选择"
|
|
88
83
|
}, {
|
|
@@ -135,10 +130,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
135
130
|
}, {
|
|
136
131
|
default: withCtx(() => [
|
|
137
132
|
(openBlock(), createBlock(BindVariable, {
|
|
133
|
+
isTable: __props.configure.isTable,
|
|
138
134
|
key: __props.configure.uuid,
|
|
139
135
|
modelValue: __props.configure.props.base.defaultValue,
|
|
140
136
|
"onUpdate:modelValue": afterBindDefaultValue
|
|
141
|
-
}, null, 8, ["modelValue"]))
|
|
137
|
+
}, null, 8, ["isTable", "modelValue"]))
|
|
142
138
|
]),
|
|
143
139
|
_: 1
|
|
144
140
|
}),
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createCommentVNode, createTextVNode, withDirectives, vShow } from "vue";
|
|
2
2
|
import _sfc_main$3 from "../common/suffixmodule.vue.js";
|
|
3
3
|
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
4
|
-
import {
|
|
4
|
+
import { componentNameChange } from "../../../../utils/form-design-util.js";
|
|
5
5
|
import IconSetDialog from "../common/icon-set-dialog.vue.js";
|
|
6
6
|
import _sfc_main$4 from "../../common/common-attr-size.vue.js";
|
|
7
7
|
import BindVariable from "../../common/common-variable-bind.vue.js";
|
|
8
8
|
import _sfc_main$2 from "../common/condition.vue.js";
|
|
9
9
|
import _sfc_main$1 from "../../common/common-function-code.vue.js";
|
|
10
|
-
import { tableResetConfigIndo } from "../../../../utils/page-table-util.js";
|
|
11
10
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
12
11
|
const _hoisted_2 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
13
12
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -19,6 +18,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
19
18
|
emits: ["changeAssembly"],
|
|
20
19
|
setup(__props, { emit: __emit }) {
|
|
21
20
|
const props = __props;
|
|
21
|
+
const componentName = ref(props.configure.name);
|
|
22
22
|
const emit = __emit;
|
|
23
23
|
if (!props.configure.props) {
|
|
24
24
|
props.configure.props = {};
|
|
@@ -32,12 +32,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
32
32
|
isTable.value = true;
|
|
33
33
|
}
|
|
34
34
|
function nameChange(val) {
|
|
35
|
-
|
|
36
|
-
tableResetConfigIndo(props.configure, val);
|
|
37
|
-
} else {
|
|
38
|
-
resetConfigIndo(props.configure, val);
|
|
39
|
-
}
|
|
40
|
-
emit("changeAssembly", props.configure);
|
|
35
|
+
componentNameChange(props.configure, val, emit);
|
|
41
36
|
}
|
|
42
37
|
function afterBindVariable(modelValue, alias) {
|
|
43
38
|
props.configure.props.base.prop = modelValue;
|
|
@@ -84,8 +79,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
84
79
|
}, {
|
|
85
80
|
default: withCtx(() => [
|
|
86
81
|
createVNode(_component_el_select, {
|
|
87
|
-
modelValue:
|
|
88
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) =>
|
|
82
|
+
modelValue: componentName.value,
|
|
83
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => componentName.value = $event),
|
|
89
84
|
onChange: nameChange,
|
|
90
85
|
placeholder: "请选择"
|
|
91
86
|
}, {
|
|
@@ -138,10 +133,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
138
133
|
}, {
|
|
139
134
|
default: withCtx(() => [
|
|
140
135
|
(openBlock(), createBlock(BindVariable, {
|
|
136
|
+
isTable: _ctx.configure.isTable,
|
|
141
137
|
key: _ctx.configure.uuid,
|
|
142
138
|
modelValue: _ctx.configure.props.base.defaultValue,
|
|
143
139
|
"onUpdate:modelValue": afterBindDefaultValue
|
|
144
|
-
}, null, 8, ["modelValue"]))
|
|
140
|
+
}, null, 8, ["isTable", "modelValue"]))
|
|
145
141
|
]),
|
|
146
142
|
_: 1
|
|
147
143
|
}),
|
package/dist/es/components/design/views/assemblys/form/placeholder/placeholder-attr-base.vue.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createCommentVNode } from "vue";
|
|
2
2
|
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
3
3
|
import _sfc_main$1 from "../../common/common-attr-size.vue.js";
|
|
4
|
-
import {
|
|
5
|
-
import { resetConfigIndo } from "../../../../utils/form-design-util.js";
|
|
4
|
+
import { componentNameChange } from "../../../../utils/form-design-util.js";
|
|
6
5
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
7
6
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
7
|
__name: "placeholder-attr-base",
|
|
@@ -16,6 +15,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
16
15
|
emits: ["changeAssembly"],
|
|
17
16
|
setup(__props, { emit: __emit }) {
|
|
18
17
|
const props = __props;
|
|
18
|
+
const componentName = ref(props.configure.name);
|
|
19
19
|
const emit = __emit;
|
|
20
20
|
const openCollapseItems = ref(["base"]);
|
|
21
21
|
const isTable = ref(false);
|
|
@@ -23,12 +23,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
23
23
|
isTable.value = true;
|
|
24
24
|
}
|
|
25
25
|
function nameChange(val) {
|
|
26
|
-
|
|
27
|
-
tableResetConfigIndo(props.configure, val);
|
|
28
|
-
} else {
|
|
29
|
-
resetConfigIndo(props.configure, val);
|
|
30
|
-
}
|
|
31
|
-
emit("changeAssembly", props.configure);
|
|
26
|
+
componentNameChange(props.configure, val, emit);
|
|
32
27
|
}
|
|
33
28
|
return (_ctx, _cache) => {
|
|
34
29
|
const _component_el_option = resolveComponent("el-option");
|
|
@@ -62,8 +57,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
62
57
|
}, {
|
|
63
58
|
default: withCtx(() => [
|
|
64
59
|
createVNode(_component_el_select, {
|
|
65
|
-
modelValue:
|
|
66
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) =>
|
|
60
|
+
modelValue: componentName.value,
|
|
61
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => componentName.value = $event),
|
|
67
62
|
onChange: nameChange,
|
|
68
63
|
placeholder: "请选择"
|
|
69
64
|
}, {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createCommentVNode, createTextVNode, withDirectives, vShow } from "vue";
|
|
2
2
|
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
3
|
-
import {
|
|
3
|
+
import { componentNameChange } from "../../../../utils/form-design-util.js";
|
|
4
4
|
import _sfc_main$4 from "../../common/common-attr-size.vue.js";
|
|
5
5
|
import DataOrigin from "../common/data-origin.vue.js";
|
|
6
6
|
import _sfc_main$2 from "../common/data-linkage.vue.js";
|
|
7
7
|
import BindVariable from "../../common/common-variable-bind.vue.js";
|
|
8
8
|
import _sfc_main$1 from "../../common/common-function-code.vue.js";
|
|
9
|
-
import { tableResetConfigIndo } from "../../../../utils/page-table-util.js";
|
|
10
9
|
import _sfc_main$3 from "../common/verification-custom.vue.js";
|
|
11
10
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
12
11
|
const _hoisted_2 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
@@ -24,6 +23,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
24
23
|
emits: ["changeAssembly"],
|
|
25
24
|
setup(__props, { emit: __emit }) {
|
|
26
25
|
const props = __props;
|
|
26
|
+
const componentName = ref(props.configure.name);
|
|
27
27
|
const emit = __emit;
|
|
28
28
|
const openCollapseItems = ref("base");
|
|
29
29
|
const isTable = ref(false);
|
|
@@ -40,12 +40,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
40
40
|
props.configure.props.base.defaultValue = modelValue;
|
|
41
41
|
}
|
|
42
42
|
function nameChange(val) {
|
|
43
|
-
|
|
44
|
-
tableResetConfigIndo(props.configure, val);
|
|
45
|
-
} else {
|
|
46
|
-
resetConfigIndo(props.configure, val);
|
|
47
|
-
}
|
|
48
|
-
emit("changeAssembly", props.configure);
|
|
43
|
+
componentNameChange(props.configure, val, emit);
|
|
49
44
|
}
|
|
50
45
|
return (_ctx, _cache) => {
|
|
51
46
|
const _component_el_option = resolveComponent("el-option");
|
|
@@ -83,8 +78,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
83
78
|
}, {
|
|
84
79
|
default: withCtx(() => [
|
|
85
80
|
createVNode(_component_el_select, {
|
|
86
|
-
modelValue:
|
|
87
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) =>
|
|
81
|
+
modelValue: componentName.value,
|
|
82
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => componentName.value = $event),
|
|
88
83
|
onChange: nameChange,
|
|
89
84
|
placeholder: "请选择"
|
|
90
85
|
}, {
|
|
@@ -137,10 +132,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
137
132
|
}, {
|
|
138
133
|
default: withCtx(() => [
|
|
139
134
|
(openBlock(), createBlock(BindVariable, {
|
|
135
|
+
isTable: __props.configure.isTable,
|
|
140
136
|
key: __props.configure.uuid,
|
|
141
137
|
modelValue: __props.configure.props.base.defaultValue,
|
|
142
138
|
"onUpdate:modelValue": afterBindDefaultValue
|
|
143
|
-
}, null, 8, ["modelValue"]))
|
|
139
|
+
}, null, 8, ["isTable", "modelValue"]))
|
|
144
140
|
]),
|
|
145
141
|
_: 1
|
|
146
142
|
}),
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createCommentVNode, createTextVNode, withDirectives, vShow } from "vue";
|
|
2
2
|
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
3
|
-
import {
|
|
3
|
+
import { componentNameChange } from "../../../../utils/form-design-util.js";
|
|
4
4
|
import _sfc_main$2 from "../../common/common-attr-size.vue.js";
|
|
5
5
|
import BindVariable from "../../common/common-variable-bind.vue.js";
|
|
6
6
|
import _sfc_main$1 from "../../common/common-function-code.vue.js";
|
|
7
|
-
import { tableResetConfigIndo } from "../../../../utils/page-table-util.js";
|
|
8
7
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
9
8
|
const _hoisted_2 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
10
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -19,6 +18,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
19
18
|
emits: ["changeAssembly"],
|
|
20
19
|
setup(__props, { emit: __emit }) {
|
|
21
20
|
const props = __props;
|
|
21
|
+
const componentName = ref(props.configure.name);
|
|
22
22
|
const openCollapseItems = ref(["base"]);
|
|
23
23
|
const emit = __emit;
|
|
24
24
|
const isTable = ref(false);
|
|
@@ -32,12 +32,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
function nameChange(val) {
|
|
35
|
-
|
|
36
|
-
tableResetConfigIndo(props.configure, val);
|
|
37
|
-
} else {
|
|
38
|
-
resetConfigIndo(props.configure, val);
|
|
39
|
-
}
|
|
40
|
-
emit("changeAssembly", props.configure);
|
|
35
|
+
componentNameChange(props.configure, val, emit);
|
|
41
36
|
}
|
|
42
37
|
function afterBindDefaultValue(modelValue) {
|
|
43
38
|
props.configure.props.base.defaultValue = modelValue;
|
|
@@ -80,8 +75,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
80
75
|
}, {
|
|
81
76
|
default: withCtx(() => [
|
|
82
77
|
createVNode(_component_el_select, {
|
|
83
|
-
modelValue:
|
|
84
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) =>
|
|
78
|
+
modelValue: componentName.value,
|
|
79
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => componentName.value = $event),
|
|
85
80
|
onChange: nameChange,
|
|
86
81
|
placeholder: "请选择"
|
|
87
82
|
}, {
|
|
@@ -134,10 +129,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
134
129
|
}, {
|
|
135
130
|
default: withCtx(() => [
|
|
136
131
|
(openBlock(), createBlock(BindVariable, {
|
|
132
|
+
isTable: __props.configure.isTable,
|
|
137
133
|
key: __props.configure.uuid,
|
|
138
134
|
modelValue: __props.configure.props.base.defaultValue,
|
|
139
135
|
"onUpdate:modelValue": afterBindDefaultValue
|
|
140
|
-
}, null, 8, ["modelValue"]))
|
|
136
|
+
}, null, 8, ["isTable", "modelValue"]))
|
|
141
137
|
]),
|
|
142
138
|
_: 1
|
|
143
139
|
}),
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createCommentVNode, createTextVNode, withDirectives, vShow } from "vue";
|
|
2
2
|
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
3
|
-
import {
|
|
3
|
+
import { componentNameChange } from "../../../../utils/form-design-util.js";
|
|
4
4
|
import _sfc_main$5 from "../../common/common-attr-size.vue.js";
|
|
5
5
|
import DataOrigin from "../common/data-origin.vue.js";
|
|
6
6
|
import _sfc_main$2 from "../common/data-linkage.vue.js";
|
|
7
7
|
import BindVariable from "../../common/common-variable-bind.vue.js";
|
|
8
8
|
import _sfc_main$1 from "../../common/common-function-code.vue.js";
|
|
9
9
|
import _sfc_main$3 from "../common/title-suffix.vue.js";
|
|
10
|
-
import { tableResetConfigIndo } from "../../../../utils/page-table-util.js";
|
|
11
10
|
import _sfc_main$4 from "../common/verification-custom.vue.js";
|
|
12
11
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
13
12
|
const _hoisted_2 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
@@ -28,6 +27,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
28
27
|
emits: ["changeAssembly"],
|
|
29
28
|
setup(__props, { emit: __emit }) {
|
|
30
29
|
const props = __props;
|
|
30
|
+
const componentName = ref(props.configure.name);
|
|
31
31
|
const emit = __emit;
|
|
32
32
|
const openCollapseItems = ref(["base"]);
|
|
33
33
|
const isTable = ref(false);
|
|
@@ -47,12 +47,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
47
47
|
props.configure.props.base.defaultValue = modelValue;
|
|
48
48
|
}
|
|
49
49
|
function nameChange(val) {
|
|
50
|
-
|
|
51
|
-
tableResetConfigIndo(props.configure, val);
|
|
52
|
-
} else {
|
|
53
|
-
resetConfigIndo(props.configure, val);
|
|
54
|
-
}
|
|
55
|
-
emit("changeAssembly", props.configure);
|
|
50
|
+
componentNameChange(props.configure, val, emit);
|
|
56
51
|
}
|
|
57
52
|
return (_ctx, _cache) => {
|
|
58
53
|
const _component_el_option = resolveComponent("el-option");
|
|
@@ -90,8 +85,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
90
85
|
}, {
|
|
91
86
|
default: withCtx(() => [
|
|
92
87
|
createVNode(_component_el_select, {
|
|
93
|
-
modelValue:
|
|
94
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) =>
|
|
88
|
+
modelValue: componentName.value,
|
|
89
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => componentName.value = $event),
|
|
95
90
|
onChange: nameChange,
|
|
96
91
|
placeholder: "请选择"
|
|
97
92
|
}, {
|
|
@@ -172,10 +167,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
172
167
|
}, {
|
|
173
168
|
default: withCtx(() => [
|
|
174
169
|
(openBlock(), createBlock(BindVariable, {
|
|
170
|
+
isTable: __props.configure.isTable,
|
|
175
171
|
key: __props.configure.uuid,
|
|
176
172
|
modelValue: __props.configure.props.base.defaultValue,
|
|
177
173
|
"onUpdate:modelValue": afterBindDefaultValue
|
|
178
|
-
}, null, 8, ["modelValue"]))
|
|
174
|
+
}, null, 8, ["isTable", "modelValue"]))
|
|
179
175
|
]),
|
|
180
176
|
_: 1
|
|
181
177
|
}),
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createCommentVNode, createTextVNode, withDirectives, vShow } from "vue";
|
|
2
2
|
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
3
|
-
import {
|
|
3
|
+
import { componentNameChange } from "../../../../utils/form-design-util.js";
|
|
4
4
|
import _sfc_main$2 from "../../common/common-attr-size.vue.js";
|
|
5
5
|
import BindVariable from "../../common/common-variable-bind.vue.js";
|
|
6
6
|
import _sfc_main$1 from "../../common/common-function-code.vue.js";
|
|
7
|
-
import { tableResetConfigIndo } from "../../../../utils/page-table-util.js";
|
|
8
7
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
9
8
|
const _hoisted_2 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
10
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -19,6 +18,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
19
18
|
emits: ["changeAssembly"],
|
|
20
19
|
setup(__props, { emit: __emit }) {
|
|
21
20
|
const props = __props;
|
|
21
|
+
const componentName = ref(props.configure.name);
|
|
22
22
|
const emit = __emit;
|
|
23
23
|
const openCollapseItems = ref(["base"]);
|
|
24
24
|
const isTable = ref(false);
|
|
@@ -35,12 +35,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
35
35
|
props.configure.props.base.defaultValue = modelValue;
|
|
36
36
|
}
|
|
37
37
|
function nameChange(val) {
|
|
38
|
-
|
|
39
|
-
tableResetConfigIndo(props.configure, val);
|
|
40
|
-
} else {
|
|
41
|
-
resetConfigIndo(props.configure, val);
|
|
42
|
-
}
|
|
43
|
-
emit("changeAssembly", props.configure);
|
|
38
|
+
componentNameChange(props.configure, val, emit);
|
|
44
39
|
}
|
|
45
40
|
return (_ctx, _cache) => {
|
|
46
41
|
const _component_el_option = resolveComponent("el-option");
|
|
@@ -81,8 +76,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
81
76
|
}, {
|
|
82
77
|
default: withCtx(() => [
|
|
83
78
|
createVNode(_component_el_select, {
|
|
84
|
-
modelValue:
|
|
85
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) =>
|
|
79
|
+
modelValue: componentName.value,
|
|
80
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => componentName.value = $event),
|
|
86
81
|
onChange: nameChange,
|
|
87
82
|
placeholder: "请选择"
|
|
88
83
|
}, {
|
|
@@ -135,10 +130,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
135
130
|
}, {
|
|
136
131
|
default: withCtx(() => [
|
|
137
132
|
(openBlock(), createBlock(BindVariable, {
|
|
133
|
+
isTable: __props.configure.isTable,
|
|
138
134
|
key: __props.configure.uuid,
|
|
139
135
|
modelValue: __props.configure.props.base.defaultValue,
|
|
140
136
|
"onUpdate:modelValue": afterBindDefaultValue
|
|
141
|
-
}, null, 8, ["modelValue"]))
|
|
137
|
+
}, null, 8, ["isTable", "modelValue"]))
|
|
142
138
|
]),
|
|
143
139
|
_: 1
|
|
144
140
|
}),
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, unref, createCommentVNode, createTextVNode, withDirectives, vShow } from "vue";
|
|
2
2
|
import { getFormComponentOptions } from "../../../../utils/assemblys-config.js";
|
|
3
|
-
import {
|
|
3
|
+
import { componentNameChange } from "../../../../utils/form-design-util.js";
|
|
4
4
|
import _sfc_main$2 from "../../common/common-attr-size.vue.js";
|
|
5
5
|
import BindVariable from "../../common/common-variable-bind.vue.js";
|
|
6
6
|
import _sfc_main$1 from "../../common/common-function-code.vue.js";
|
|
7
|
-
import { tableResetConfigIndo } from "../../../../utils/page-table-util.js";
|
|
8
7
|
const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
9
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
9
|
__name: "tag-attr-base",
|
|
@@ -18,6 +17,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
18
17
|
emits: ["changeAssembly"],
|
|
19
18
|
setup(__props, { emit: __emit }) {
|
|
20
19
|
const props = __props;
|
|
20
|
+
const componentName = ref(props.configure.name);
|
|
21
21
|
const openCollapseItems = ref(["base"]);
|
|
22
22
|
const emit = __emit;
|
|
23
23
|
const isTable = ref(false);
|
|
@@ -34,12 +34,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
34
34
|
props.configure.props.base.defaultValue = modelValue;
|
|
35
35
|
}
|
|
36
36
|
function nameChange(val) {
|
|
37
|
-
|
|
38
|
-
tableResetConfigIndo(props.configure, val);
|
|
39
|
-
} else {
|
|
40
|
-
resetConfigIndo(props.configure, val);
|
|
41
|
-
}
|
|
42
|
-
emit("changeAssembly", props.configure);
|
|
37
|
+
componentNameChange(props.configure, val, emit);
|
|
43
38
|
}
|
|
44
39
|
return (_ctx, _cache) => {
|
|
45
40
|
const _component_el_option = resolveComponent("el-option");
|
|
@@ -77,8 +72,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
77
72
|
}, {
|
|
78
73
|
default: withCtx(() => [
|
|
79
74
|
createVNode(_component_el_select, {
|
|
80
|
-
modelValue:
|
|
81
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) =>
|
|
75
|
+
modelValue: componentName.value,
|
|
76
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => componentName.value = $event),
|
|
82
77
|
onChange: nameChange,
|
|
83
78
|
placeholder: "请选择"
|
|
84
79
|
}, {
|
|
@@ -131,10 +126,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
131
126
|
}, {
|
|
132
127
|
default: withCtx(() => [
|
|
133
128
|
(openBlock(), createBlock(BindVariable, {
|
|
129
|
+
isTable: __props.configure.isTable,
|
|
134
130
|
key: __props.configure.uuid,
|
|
135
131
|
modelValue: __props.configure.props.base.defaultValue,
|
|
136
132
|
"onUpdate:modelValue": afterBindDefaultValue
|
|
137
|
-
}, null, 8, ["modelValue"]))
|
|
133
|
+
}, null, 8, ["isTable", "modelValue"]))
|
|
138
134
|
]),
|
|
139
135
|
_: 1
|
|
140
136
|
}),
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|