@web-utils/form-ui 1.0.0-beta77 → 1.0.0-beta78
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/address-input/index.d.ts +52 -0
- package/affix/index.d.ts +30 -0
- package/awesome-button/index.d.ts +60 -0
- package/capsule-tab/index.d.ts +30 -0
- package/card/index.d.ts +41 -0
- package/chunks/{Dhdoa4M6.mjs → 22GsbC-1.mjs} +1 -1
- package/chunks/{BkoWiWEW.mjs → 8i6khBvL2.mjs} +187 -188
- package/chunks/{DRXM1Mt22.mjs → B4GsYMXo.mjs} +1 -1
- package/chunks/{CWaId08S2.mjs → BEghYt1s2.mjs} +1 -1
- package/chunks/{DS4Iw8Y42.mjs → BPkYHRo52.mjs} +9 -9
- package/chunks/{CGVBF4Ml.mjs → BQytQPLa.mjs} +58 -51
- package/chunks/{CyQmVphZ.mjs → BUdSoC0y.mjs} +51 -52
- package/chunks/{D5_ezGUV2.mjs → BVUClQOx.mjs} +2 -2
- package/chunks/{Dpzw7Rtp.mjs → BWTQ3qdg.mjs} +1 -1
- package/chunks/{uDwSrV7X2.mjs → Bo8lYN4n2.mjs} +2 -2
- package/chunks/{D6qJXu04.mjs → Bs926z902.mjs} +48 -49
- package/chunks/{CeEYChF4.mjs → Bvn6wnku.mjs} +2 -2
- package/chunks/{BK6DiJfX2.mjs → C4TRh7-t2.mjs} +3 -3
- package/chunks/{BZRmdKBG.mjs → CDalOJtl2.mjs} +65 -66
- package/chunks/{lPQBM7xc2.mjs → CGmbnjKL.mjs} +2 -2
- package/chunks/{kAaQhLJs2.mjs → COA3tHyu2.mjs} +1 -1
- package/chunks/{BTNnujZA2.mjs → CTYReSXN.mjs} +1 -1
- package/chunks/{CVM0lwn22.mjs → CfZWeZDD.mjs} +2 -2
- package/chunks/{DMDsZeqv.mjs → CiMBKxeJ.mjs} +1 -1
- package/chunks/{Dgwcljur.mjs → CkLpOk7H.mjs} +1 -1
- package/chunks/{CI-pH-gR2.mjs → Co0M4G3P.mjs} +1 -1
- package/chunks/{DFa2J7ul.mjs → Cwh7YPxJ.mjs} +151 -152
- package/chunks/{BVsvRLea2.mjs → D4FXesiK2.mjs} +2 -2
- package/chunks/{BM8snKHN2.mjs → DH-B0Lkz2.mjs} +2 -2
- package/chunks/{l5bfIjYm.mjs → DOdaQmeD.mjs} +576 -855
- package/chunks/{Cg6ahpHk.mjs → DQMWqQFe2.mjs} +2 -2
- package/chunks/{DyGddGTO.mjs → DbcxJ45j.mjs} +96 -97
- package/chunks/{B-WTB0ce2.mjs → DcgE9SF_2.mjs} +1 -1
- package/chunks/{285I1DfO.mjs → Dnb8jUG_.mjs} +14 -15
- package/chunks/{BaB0bq4I2.mjs → DxeRdYI82.mjs} +1 -1
- package/chunks/{Bq9KMIsC.mjs → YuRYvOxL.mjs} +162 -163
- package/chunks/{BLBHnUme2.mjs → Zdhb_SRi2.mjs} +1 -1
- package/chunks/{BvlU_Z6D2.mjs → eX0Esdvw2.mjs} +1 -1
- package/chunks/{CoPlnbwi2.mjs → hBvPGqka.mjs} +2 -2
- package/chunks/{DP7eF99m2.mjs → oXiNltCq.mjs} +1 -1
- package/chunks/{x2jJ6cfy2.mjs → shY1VkIE2.mjs} +1 -1
- package/chunks/{ohCkWdwS.mjs → tSaeUhnr.mjs} +1 -1
- package/chunks/{JjnlFlI02.mjs → xe1XzZUE2.mjs} +9 -9
- package/code-mirror-editor/index.d.ts +50 -0
- package/confirm-button/index.d.ts +122 -0
- package/confirmable/index.d.ts +93 -0
- package/context-menu/index.d.ts +183 -0
- package/count-up/index.d.ts +70 -0
- package/custom-scrollbar/index.d.ts +49 -0
- package/data-box/index.d.ts +30 -0
- package/data-card/index.d.ts +20 -0
- package/data-card-text/index.d.ts +21 -0
- package/data-display/index.d.ts +20 -0
- package/data-icons/index.d.ts +21 -0
- package/data-imgtext/index.d.ts +18 -0
- package/data-operatext/index.d.ts +17 -0
- package/data-panel/index.d.ts +19 -0
- package/data-pay/index.d.ts +19 -0
- package/data-price/index.d.ts +17 -0
- package/data-progress/index.d.ts +19 -0
- package/data-rotate/index.d.ts +21 -0
- package/data-table-picker/index.d.ts +61 -0
- package/data-tabs/index.d.ts +21 -0
- package/dict-render/index.d.ts +28 -0
- package/e-charts/index.d.ts +79 -0
- package/easy-popup/index.d.ts +114 -0
- package/editable-progress/index.d.ts +68 -0
- package/editable-tree/index.d.ts +281 -0
- package/element-dialog/index.d.ts +376 -0
- package/element-resize-observer/index.d.ts +8 -0
- package/empty-view/index.d.ts +29 -0
- package/error-view/index.d.ts +25 -0
- package/flex-box/index.d.ts +44 -0
- package/flex-column/index.d.ts +41 -0
- package/flex-item/index.d.ts +77 -0
- package/flex-row/index.d.ts +41 -0
- package/flex-scroll-area/index.d.ts +22 -0
- package/flex-scroller/index.d.ts +26 -0
- package/flow-designer/index.d.ts +311 -0
- package/flow-designer/index.mjs +1 -1
- package/flow-viewer/index.d.ts +62 -0
- package/form-advice/index.d.ts +9 -0
- package/form-button/index.d.ts +123 -0
- package/form-card/index.d.ts +14 -0
- package/form-cascader/index.d.ts +478 -0
- package/form-cascader/index.mjs +1 -1
- package/form-cell/index.d.ts +25 -0
- package/form-checkbox/index.d.ts +314 -0
- package/form-checkbox/index.mjs +1 -1
- package/form-checkbox-group/index.d.ts +373 -0
- package/form-checkbox-group/index.mjs +1 -1
- package/form-date-picker/index.d.ts +480 -0
- package/form-date-picker/index.mjs +1 -1
- package/form-holder/index.d.ts +162 -0
- package/form-holder/index.mjs +1 -1
- package/form-image/index.d.ts +220 -0
- package/form-image/index.mjs +1 -1
- package/form-input/index.d.ts +378 -0
- package/form-input/index.mjs +1 -1
- package/form-input-cron-expression/index.d.ts +223 -0
- package/form-input-cron-expression/index.mjs +1 -1
- package/form-input-email/index.d.ts +376 -0
- package/form-input-email/index.mjs +1 -1
- package/form-input-id-card/index.d.ts +376 -0
- package/form-input-id-card/index.mjs +1 -1
- package/form-input-number/index.d.ts +329 -0
- package/form-input-number/index.mjs +1 -1
- package/form-input-phone-number/index.d.ts +376 -0
- package/form-input-phone-number/index.mjs +1 -1
- package/form-input-tag/index.d.ts +270 -0
- package/form-input-tag/index.mjs +1 -1
- package/form-input-time/index.d.ts +441 -0
- package/form-input-time/index.mjs +1 -1
- package/form-item-config-provider/index.d.ts +40 -0
- package/form-item-group/index.d.ts +92 -0
- package/form-item-group/index.mjs +1 -1
- package/form-item-x/index.d.ts +190 -0
- package/form-item-x/index.mjs +1 -1
- package/form-radio-group/index.d.ts +374 -0
- package/form-radio-group/index.mjs +1 -1
- package/form-rate/index.d.ts +325 -0
- package/form-rate/index.mjs +1 -1
- package/form-red-table/index.d.ts +21 -0
- package/form-row/index.d.ts +11 -0
- package/form-row/index.mjs +1 -1
- package/form-select/index.d.ts +606 -0
- package/form-select/index.mjs +1 -1
- package/form-slider/index.d.ts +352 -0
- package/form-slider/index.mjs +1 -1
- package/form-switch/index.d.ts +343 -0
- package/form-switch/index.mjs +1 -1
- package/form-table/index.d.ts +287 -0
- package/form-table/index.mjs +1 -1
- package/form-table-plus/index.d.ts +266 -0
- package/form-table-plus/index.mjs +1 -1
- package/form-text/index.d.ts +235 -0
- package/form-text/index.mjs +1 -1
- package/form-textarea/index.d.ts +351 -0
- package/form-textarea/index.mjs +1 -1
- package/form-time-select/index.d.ts +325 -0
- package/form-time-select/index.mjs +1 -1
- package/form-tree-select/index.d.ts +715 -0
- package/form-tree-select/index.mjs +1 -1
- package/form-tree-select-multiple/index.d.ts +717 -0
- package/form-tree-select-multiple/index.mjs +1 -1
- package/form-view/index.d.ts +226 -0
- package/form-view/index.mjs +2 -2
- package/guide-steps/index.d.ts +31 -0
- package/helper/input.mjs +1 -1
- package/highlight-j-s/index.d.ts +18 -0
- package/iframe-window/index.d.ts +9 -0
- package/image-cropper/index.d.ts +365 -0
- package/image-preview/index.d.ts +61 -0
- package/image-viewer/index.d.ts +25 -0
- package/index.d.ts +119 -119
- package/index.mjs +121 -121
- package/input-number-range/index.d.ts +41 -0
- package/keyboard/index.d.ts +64 -0
- package/keyboard/index.mjs +1 -1
- package/loading-view/index.d.ts +65 -0
- package/name-avatar/index.d.ts +62 -0
- package/nav-bar/index.d.ts +21 -0
- package/package.json +1 -1
- package/page/index.d.ts +21 -0
- package/page-header/index.d.ts +27 -0
- package/page-index/index.d.ts +82 -0
- package/page-index-top/index.d.ts +38 -0
- package/page-skeleton/index.d.ts +30 -0
- package/page-skeleton-new/index.d.ts +34 -0
- package/pageable-table/index.d.ts +400 -0
- package/photo-swipe/index.d.ts +18 -0
- package/photo-swipe/index.mjs +1 -1
- package/props/date.d.ts +1 -4
- package/props/date.mjs +18 -5
- package/sign-panel/index.d.ts +85 -0
- package/skeleton-panel/index.d.ts +27 -0
- package/split-pane/index.d.ts +106 -0
- package/split-pane/index.mjs +1 -1
- package/stateful/index.d.ts +92 -0
- package/sub-table/index.d.ts +109 -0
- package/sub-table/index.mjs +1 -1
- package/sub-table-plus/index.d.ts +109 -0
- package/sub-table-plus/index.mjs +1 -1
- package/swiper/index.d.ts +27 -0
- package/table-column/index.d.ts +163 -0
- package/table-column-def/index.d.ts +97 -0
- package/table-view/index.d.ts +346 -0
- package/table-view/index.mjs +3 -3
- package/tag-render/index.d.ts +48 -0
- package/text-ellipsis/index.d.ts +111 -0
- package/toolbar/index.d.ts +129 -0
- package/toolbar/index.mjs +1 -1
- package/toolbar-button/index.d.ts +189 -0
- package/vue-cron/index.d.ts +191 -0
- package/vue-cron/index.mjs +1 -1
- package/vue-qr-code/index.d.ts +47 -0
- package/vue-tags-input/index.d.ts +373 -0
- package/vue-tree-select/index.d.ts +1489 -0
- package/vue-tree-select/index.mjs +1 -1
- package/vue-video-player/index.d.ts +117 -0
- package/watermark/index.d.ts +97 -0
- package/watermark/index.mjs +1 -1
- package/web-types.json +1 -1
- package/x-input-tag/index.d.ts +2 -0
- package/year-calendar/index.d.ts +99 -0
- package/year-calendar/index.mjs +1 -1
- package/chunks/CjjJimnU.mjs +0 -20
- package/chunks/{tJ_t87kJ.mjs → 6dNVtIN32.mjs} +0 -0
- package/chunks/{CJ7Ai-mH2.mjs → B1luuf_A2.mjs} +0 -0
- package/chunks/{B1jgu0ci.mjs → BAG_R87k2.mjs} +0 -0
- package/chunks/{gNfZhMJk2.mjs → BM5LdxU72.mjs} +0 -0
- package/chunks/{CZeL7oiY2.mjs → BhHMGhJ8.mjs} +0 -0
- package/chunks/{z6tpYT0z.mjs → BwL9Xz1F.mjs} +0 -0
- package/chunks/{C0gLPKS8.mjs → D9p3yGUu.mjs} +1 -1
- package/chunks/{Bh2SlzOo.mjs → DDcaXGrf2.mjs} +0 -0
- package/chunks/{B2Y1LWJ3.mjs → Dkw6LNCq2.mjs} +0 -0
- package/chunks/{C3pzNRoU2.mjs → DvGAwr6C.mjs} +2 -2
- package/chunks/{CeI6Qrij.mjs → DydcNRkF.mjs} +1 -1
- /package/chunks/{b_78-Wov2.mjs → FZqu01np2.mjs} +0 -0
- /package/chunks/{hPAfGilD.mjs → KOJEsarR2.mjs} +0 -0
- /package/chunks/{3UWcbJcG.mjs → PEU1JRcN2.mjs} +0 -0
|
@@ -1,22 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t } from "./
|
|
3
|
-
import {
|
|
4
|
-
import { ElButton as r, ElDivider as i, ElDrawer as a, ElForm as o, ElFormItem as s, ElInput as c, ElOption as l, ElSelect as u, ElTable as d, ElTableColumn as f } from "element-plus/es";
|
|
1
|
+
import { t as e } from "./B1MSrc6f.mjs";
|
|
2
|
+
import { t } from "./V-Js6hNd.mjs";
|
|
3
|
+
import { ElButton as n, ElDivider as r, ElDrawer as i, ElForm as a, ElFormItem as o, ElInput as s, ElOption as c, ElSelect as l, ElTable as u, ElTableColumn as d } from "element-plus/es";
|
|
5
4
|
import "element-plus/es/components/base/style/css";
|
|
6
5
|
import "element-plus/es/components/input/style/css";
|
|
7
|
-
import { Fragment as
|
|
8
|
-
import { fastClone as
|
|
6
|
+
import { Fragment as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as _, createVNode as v, openBlock as y, renderList as b, withCtx as x, withModifiers as S } from "vue";
|
|
7
|
+
import { fastClone as C } from "@web-utils/core";
|
|
9
8
|
import "element-plus/es/components/button/style/css";
|
|
10
9
|
import "element-plus/es/components/drawer/style/css";
|
|
11
10
|
import "element-plus/es/components/table/style/css";
|
|
12
11
|
import "element-plus/es/components/table-column/style/css";
|
|
13
|
-
import "element-plus/es/components/form/style/css";
|
|
14
12
|
import "element-plus/es/components/form-item/style/css";
|
|
13
|
+
import "element-plus/es/components/form/style/css";
|
|
15
14
|
import "element-plus/es/components/select/style/css";
|
|
16
15
|
import "element-plus/es/components/option/style/css";
|
|
17
16
|
import "element-plus/es/components/divider/style/css";
|
|
18
17
|
//#region src/components/bpmn-process-designer/components/penal/form/ElementForm.vue
|
|
19
|
-
var
|
|
18
|
+
var w = {
|
|
20
19
|
name: "ElementForm",
|
|
21
20
|
inject: {
|
|
22
21
|
prefix: "prefix",
|
|
@@ -62,7 +61,7 @@ var T = /* @__PURE__ */ e({ default: () => F }), E = {
|
|
|
62
61
|
methods: {
|
|
63
62
|
resetFormList() {
|
|
64
63
|
var e;
|
|
65
|
-
this.formKey = this.element.businessObject.formKey, this.elExtensionElements = this.element.businessObject.get("extensionElements") || this.bpmnInstances.moddle.create("bpmn:ExtensionElements", { values: [] }), this.formData = ((e = this.elExtensionElements.values.filter((e) => e.$type === `${this.prefix}:FormData`)) == null ? void 0 : e[0]) || this.bpmnInstances.moddle.create(`${this.prefix}:FormData`, { fields: [] }), this.businessKey = this.formData.businessKey, this.otherExtensions = this.elExtensionElements.values.filter((e) => e.$type !== `${this.prefix}:FormData`), this.fieldList =
|
|
64
|
+
this.formKey = this.element.businessObject.formKey, this.elExtensionElements = this.element.businessObject.get("extensionElements") || this.bpmnInstances.moddle.create("bpmn:ExtensionElements", { values: [] }), this.formData = ((e = this.elExtensionElements.values.filter((e) => e.$type === `${this.prefix}:FormData`)) == null ? void 0 : e[0]) || this.bpmnInstances.moddle.create(`${this.prefix}:FormData`, { fields: [] }), this.businessKey = this.formData.businessKey, this.otherExtensions = this.elExtensionElements.values.filter((e) => e.$type !== `${this.prefix}:FormData`), this.fieldList = C(this.formData.fields || []), this.updateElementExtensions();
|
|
66
65
|
},
|
|
67
66
|
updateElementFormKey() {
|
|
68
67
|
this.bpmnInstances.modeling.updateProperties(this.element, { formKey: this.formKey });
|
|
@@ -77,12 +76,12 @@ var T = /* @__PURE__ */ e({ default: () => F }), E = {
|
|
|
77
76
|
if (this.formFieldIndex = t, t !== -1) {
|
|
78
77
|
var n, r;
|
|
79
78
|
let i = this.formData.fields[t];
|
|
80
|
-
this.formFieldForm =
|
|
79
|
+
this.formFieldForm = C(e), this.formFieldForm.typeType = this.fieldType[e.type] ? e.type : "custom", e.type === "enum" && (this.fieldEnumList = C((i == null ? void 0 : i.values) || [])), this.fieldConstraintsList = C((i == null || (n = i.validation) == null ? void 0 : n.constraints) || []), this.fieldPropertiesList = C((i == null || (r = i.properties) == null ? void 0 : r.values) || []);
|
|
81
80
|
} else this.formFieldForm = {}, this.fieldEnumList = [], this.fieldConstraintsList = [], this.fieldPropertiesList = [];
|
|
82
81
|
this.fieldModelVisible = !0;
|
|
83
82
|
},
|
|
84
83
|
openFieldOptionForm(e, t, n) {
|
|
85
|
-
return this.fieldOptionModelVisible = !0, this.fieldOptionType = n, this.formFieldOptionIndex = t, n === "property" ? (this.fieldOptionForm = e ?
|
|
84
|
+
return this.fieldOptionModelVisible = !0, this.fieldOptionType = n, this.formFieldOptionIndex = t, n === "property" ? (this.fieldOptionForm = e ? C(e) : {}, this.optionModelTitle = "属性配置") : n === "enum" ? (this.fieldOptionForm = e ? C(e) : {}, this.optionModelTitle = "枚举值配置") : (this.fieldOptionForm = e ? C(e) : {}, this.optionModelTitle = "约束条件配置");
|
|
86
85
|
},
|
|
87
86
|
saveFieldOption() {
|
|
88
87
|
this.formFieldOptionIndex === -1 ? (this.fieldOptionType === "property" && this.fieldPropertiesList.push(this.fieldOptionForm), this.fieldOptionType === "constraint" && this.fieldConstraintsList.push(this.fieldOptionForm), this.fieldOptionType === "enum" && this.fieldEnumList.push(this.fieldOptionForm)) : this.fieldOptionType === "property" ? this.fieldPropertiesList.splice(this.formFieldOptionIndex, 1, this.fieldOptionForm) : this.fieldOptionType === "constraint" ? this.fieldConstraintsList.splice(this.formFieldOptionIndex, 1, this.fieldOptionForm) : this.fieldOptionType === "enum" && this.fieldEnumList.splice(this.formFieldOptionIndex, 1, this.fieldOptionForm), this.fieldOptionModelVisible = !1, this.fieldOptionForm = {};
|
|
@@ -131,44 +130,44 @@ var T = /* @__PURE__ */ e({ default: () => F }), E = {
|
|
|
131
130
|
this.bpmnInstances.modeling.updateProperties(this.element, { extensionElements: e });
|
|
132
131
|
}
|
|
133
132
|
}
|
|
134
|
-
},
|
|
133
|
+
}, T = { class: "panel-tab__content" }, E = { class: "element-property list-property" }, D = { class: "element-drawer__button" }, O = {
|
|
135
134
|
key: "enum-title",
|
|
136
135
|
class: "listener-filed__title"
|
|
137
|
-
},
|
|
136
|
+
}, k = {
|
|
138
137
|
key: "validation-title",
|
|
139
138
|
class: "listener-filed__title",
|
|
140
139
|
style: { "padding-bottom": "6px" }
|
|
141
|
-
},
|
|
140
|
+
}, A = {
|
|
142
141
|
key: "property-title",
|
|
143
142
|
class: "listener-filed__title",
|
|
144
143
|
style: { "padding-bottom": "6px" }
|
|
145
|
-
},
|
|
146
|
-
function
|
|
147
|
-
let F =
|
|
148
|
-
return
|
|
149
|
-
|
|
144
|
+
}, j = { class: "element-drawer__button" };
|
|
145
|
+
function M(e, C, w, M, N, P) {
|
|
146
|
+
let F = s, I = o, L = c, R = l, z = a, B = r, V = d, H = n, U = u, W = i, G = t;
|
|
147
|
+
return y(), h("div", T, [
|
|
148
|
+
v(z, {
|
|
150
149
|
"label-width": "80px",
|
|
151
|
-
onSubmit:
|
|
150
|
+
onSubmit: C[2] || (C[2] = S(() => {}, ["prevent"]))
|
|
152
151
|
}, {
|
|
153
|
-
default:
|
|
154
|
-
default:
|
|
155
|
-
modelValue:
|
|
156
|
-
"onUpdate:modelValue":
|
|
152
|
+
default: x(() => [v(I, { label: "表单标识" }, {
|
|
153
|
+
default: x(() => [v(F, {
|
|
154
|
+
modelValue: N.formKey,
|
|
155
|
+
"onUpdate:modelValue": C[0] || (C[0] = (e) => N.formKey = e),
|
|
157
156
|
clearable: "",
|
|
158
157
|
onChange: P.updateElementFormKey
|
|
159
158
|
}, null, 8, ["modelValue", "onChange"])]),
|
|
160
159
|
_: 1
|
|
161
|
-
}),
|
|
162
|
-
default:
|
|
163
|
-
modelValue:
|
|
164
|
-
"onUpdate:modelValue":
|
|
160
|
+
}), v(I, { label: "业务标识" }, {
|
|
161
|
+
default: x(() => [v(R, {
|
|
162
|
+
modelValue: N.businessKey,
|
|
163
|
+
"onUpdate:modelValue": C[1] || (C[1] = (e) => N.businessKey = e),
|
|
165
164
|
onChange: P.updateElementBusinessKey
|
|
166
165
|
}, {
|
|
167
|
-
default:
|
|
166
|
+
default: x(() => [(y(!0), h(f, null, b(N.fieldList, (e) => (y(), p(L, {
|
|
168
167
|
key: e.id,
|
|
169
168
|
value: e.id,
|
|
170
169
|
label: e.label
|
|
171
|
-
}, null, 8, ["value", "label"]))), 128)),
|
|
170
|
+
}, null, 8, ["value", "label"]))), 128)), v(L, {
|
|
172
171
|
label: "无",
|
|
173
172
|
value: ""
|
|
174
173
|
})]),
|
|
@@ -178,60 +177,60 @@ function P(e, t, w, T, E, P) {
|
|
|
178
177
|
})]),
|
|
179
178
|
_: 1
|
|
180
179
|
}),
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
default:
|
|
180
|
+
m("字段列表"),
|
|
181
|
+
g("div", E, [v(B, null, {
|
|
182
|
+
default: x(() => [...C[23] || (C[23] = [g("i", { class: "el-icon-coin" }, null, -1), _(" 表单字段 ", -1)])]),
|
|
184
183
|
_: 1
|
|
185
|
-
}),
|
|
186
|
-
data:
|
|
184
|
+
}), v(U, {
|
|
185
|
+
data: N.fieldList,
|
|
187
186
|
"max-height": "240",
|
|
188
187
|
border: "",
|
|
189
188
|
fit: ""
|
|
190
189
|
}, {
|
|
191
|
-
default:
|
|
192
|
-
|
|
190
|
+
default: x(() => [
|
|
191
|
+
v(V, {
|
|
193
192
|
label: "序号",
|
|
194
193
|
type: "index",
|
|
195
194
|
width: "50px"
|
|
196
195
|
}),
|
|
197
|
-
|
|
196
|
+
v(V, {
|
|
198
197
|
label: "字段名称",
|
|
199
198
|
prop: "label",
|
|
200
199
|
"min-width": "80px",
|
|
201
200
|
"show-overflow-tooltip": ""
|
|
202
201
|
}),
|
|
203
|
-
|
|
202
|
+
v(V, {
|
|
204
203
|
label: "字段类型",
|
|
205
204
|
prop: "type",
|
|
206
205
|
"min-width": "80px",
|
|
207
|
-
formatter: (e) =>
|
|
206
|
+
formatter: (e) => N.fieldType[e.type] || e.type,
|
|
208
207
|
"show-overflow-tooltip": ""
|
|
209
208
|
}, null, 8, ["formatter"]),
|
|
210
|
-
|
|
209
|
+
v(V, {
|
|
211
210
|
label: "默认值",
|
|
212
211
|
prop: "defaultValue",
|
|
213
212
|
"min-width": "80px",
|
|
214
213
|
"show-overflow-tooltip": ""
|
|
215
214
|
}),
|
|
216
|
-
|
|
215
|
+
v(V, {
|
|
217
216
|
label: "操作",
|
|
218
217
|
width: "90px"
|
|
219
218
|
}, {
|
|
220
|
-
default:
|
|
221
|
-
|
|
219
|
+
default: x(({ row: e, $index: t }) => [
|
|
220
|
+
v(H, {
|
|
222
221
|
text: "",
|
|
223
|
-
onClick: (
|
|
222
|
+
onClick: (n) => P.openFieldForm(e, t)
|
|
224
223
|
}, {
|
|
225
|
-
default:
|
|
224
|
+
default: x(() => [...C[24] || (C[24] = [_("编辑", -1)])]),
|
|
226
225
|
_: 1
|
|
227
226
|
}, 8, ["onClick"]),
|
|
228
|
-
|
|
229
|
-
|
|
227
|
+
v(B, { direction: "vertical" }),
|
|
228
|
+
v(H, {
|
|
230
229
|
text: "",
|
|
231
230
|
style: { color: "#ff4d4f" },
|
|
232
|
-
onClick: (
|
|
231
|
+
onClick: (n) => P.removeField(e, t)
|
|
233
232
|
}, {
|
|
234
|
-
default:
|
|
233
|
+
default: x(() => [...C[25] || (C[25] = [_("移除", -1)])]),
|
|
235
234
|
_: 1
|
|
236
235
|
}, 8, ["onClick"])
|
|
237
236
|
]),
|
|
@@ -240,18 +239,18 @@ function P(e, t, w, T, E, P) {
|
|
|
240
239
|
]),
|
|
241
240
|
_: 1
|
|
242
241
|
}, 8, ["data"])]),
|
|
243
|
-
|
|
242
|
+
g("div", D, [v(H, {
|
|
244
243
|
type: "primary",
|
|
245
244
|
icon: "el-icon-plus",
|
|
246
|
-
onClick:
|
|
245
|
+
onClick: C[3] || (C[3] = (e) => P.openFieldForm(null, -1))
|
|
247
246
|
}, {
|
|
248
|
-
default:
|
|
247
|
+
default: x(() => [...C[26] || (C[26] = [_("添加字段", -1)])]),
|
|
249
248
|
_: 1
|
|
250
249
|
})]),
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
visible:
|
|
254
|
-
"onUpdate:visible":
|
|
250
|
+
m("字段配置侧边栏"),
|
|
251
|
+
v(W, {
|
|
252
|
+
visible: N.fieldModelVisible,
|
|
253
|
+
"onUpdate:visible": C[15] || (C[15] = (e) => N.fieldModelVisible = e),
|
|
255
254
|
class: "flow-drawer",
|
|
256
255
|
title: "字段配置",
|
|
257
256
|
size: `${P.width}px`,
|
|
@@ -259,30 +258,30 @@ function P(e, t, w, T, E, P) {
|
|
|
259
258
|
"append-to-body": "",
|
|
260
259
|
"destroy-on-close": ""
|
|
261
260
|
}, {
|
|
262
|
-
default:
|
|
263
|
-
|
|
264
|
-
model:
|
|
261
|
+
default: x(() => [
|
|
262
|
+
v(z, {
|
|
263
|
+
model: N.formFieldForm,
|
|
265
264
|
"label-width": "90px",
|
|
266
|
-
onSubmit:
|
|
265
|
+
onSubmit: C[10] || (C[10] = S(() => {}, ["prevent"]))
|
|
267
266
|
}, {
|
|
268
|
-
default:
|
|
269
|
-
|
|
270
|
-
default:
|
|
271
|
-
modelValue:
|
|
272
|
-
"onUpdate:modelValue":
|
|
267
|
+
default: x(() => [
|
|
268
|
+
v(I, { label: "字段ID" }, {
|
|
269
|
+
default: x(() => [v(F, {
|
|
270
|
+
modelValue: N.formFieldForm.id,
|
|
271
|
+
"onUpdate:modelValue": C[4] || (C[4] = (e) => N.formFieldForm.id = e),
|
|
273
272
|
clearable: ""
|
|
274
273
|
}, null, 8, ["modelValue"])]),
|
|
275
274
|
_: 1
|
|
276
275
|
}),
|
|
277
|
-
|
|
278
|
-
default:
|
|
279
|
-
modelValue:
|
|
280
|
-
"onUpdate:modelValue":
|
|
276
|
+
v(I, { label: "类型" }, {
|
|
277
|
+
default: x(() => [v(R, {
|
|
278
|
+
modelValue: N.formFieldForm.typeType,
|
|
279
|
+
"onUpdate:modelValue": C[5] || (C[5] = (e) => N.formFieldForm.typeType = e),
|
|
281
280
|
placeholder: "请选择字段类型",
|
|
282
281
|
clearable: "",
|
|
283
282
|
onChange: P.changeFieldTypeType
|
|
284
283
|
}, {
|
|
285
|
-
default:
|
|
284
|
+
default: x(() => [(y(!0), h(f, null, b(N.fieldType, (e, t) => (y(), p(L, {
|
|
286
285
|
key: t,
|
|
287
286
|
label: e,
|
|
288
287
|
value: t
|
|
@@ -291,40 +290,40 @@ function P(e, t, w, T, E, P) {
|
|
|
291
290
|
}, 8, ["modelValue", "onChange"])]),
|
|
292
291
|
_: 1
|
|
293
292
|
}),
|
|
294
|
-
|
|
293
|
+
N.formFieldForm.typeType === "custom" ? (y(), p(I, {
|
|
295
294
|
key: 0,
|
|
296
295
|
label: "类型名称"
|
|
297
296
|
}, {
|
|
298
|
-
default:
|
|
299
|
-
modelValue:
|
|
300
|
-
"onUpdate:modelValue":
|
|
297
|
+
default: x(() => [v(F, {
|
|
298
|
+
modelValue: N.formFieldForm.type,
|
|
299
|
+
"onUpdate:modelValue": C[6] || (C[6] = (e) => N.formFieldForm.type = e),
|
|
301
300
|
clearable: ""
|
|
302
301
|
}, null, 8, ["modelValue"])]),
|
|
303
302
|
_: 1
|
|
304
|
-
})) :
|
|
305
|
-
|
|
306
|
-
default:
|
|
307
|
-
modelValue:
|
|
308
|
-
"onUpdate:modelValue":
|
|
303
|
+
})) : m("v-if", !0),
|
|
304
|
+
v(I, { label: "名称" }, {
|
|
305
|
+
default: x(() => [v(F, {
|
|
306
|
+
modelValue: N.formFieldForm.label,
|
|
307
|
+
"onUpdate:modelValue": C[7] || (C[7] = (e) => N.formFieldForm.label = e),
|
|
309
308
|
clearable: ""
|
|
310
309
|
}, null, 8, ["modelValue"])]),
|
|
311
310
|
_: 1
|
|
312
311
|
}),
|
|
313
|
-
|
|
312
|
+
N.formFieldForm.typeType === "date" ? (y(), p(I, {
|
|
314
313
|
key: 1,
|
|
315
314
|
label: "时间格式"
|
|
316
315
|
}, {
|
|
317
|
-
default:
|
|
318
|
-
modelValue:
|
|
319
|
-
"onUpdate:modelValue":
|
|
316
|
+
default: x(() => [v(F, {
|
|
317
|
+
modelValue: N.formFieldForm.datePattern,
|
|
318
|
+
"onUpdate:modelValue": C[8] || (C[8] = (e) => N.formFieldForm.datePattern = e),
|
|
320
319
|
clearable: ""
|
|
321
320
|
}, null, 8, ["modelValue"])]),
|
|
322
321
|
_: 1
|
|
323
|
-
})) :
|
|
324
|
-
|
|
325
|
-
default:
|
|
326
|
-
modelValue:
|
|
327
|
-
"onUpdate:modelValue":
|
|
322
|
+
})) : m("v-if", !0),
|
|
323
|
+
v(I, { label: "默认值" }, {
|
|
324
|
+
default: x(() => [v(F, {
|
|
325
|
+
modelValue: N.formFieldForm.defaultValue,
|
|
326
|
+
"onUpdate:modelValue": C[9] || (C[9] = (e) => N.formFieldForm.defaultValue = e),
|
|
328
327
|
clearable: ""
|
|
329
328
|
}, null, 8, ["modelValue"])]),
|
|
330
329
|
_: 1
|
|
@@ -332,60 +331,60 @@ function P(e, t, w, T, E, P) {
|
|
|
332
331
|
]),
|
|
333
332
|
_: 1
|
|
334
333
|
}, 8, ["model"]),
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
334
|
+
m(" 枚举值设置 "),
|
|
335
|
+
N.formFieldForm.type === "enum" ? (y(), h(f, { key: 0 }, [
|
|
336
|
+
v(B, { key: "enum-divider" }),
|
|
337
|
+
g("p", O, [C[28] || (C[28] = g("span", null, [g("i", { class: "el-icon-menu" }), _(" 枚举值列表: ")], -1)), v(H, {
|
|
339
338
|
type: "primary",
|
|
340
|
-
onClick:
|
|
339
|
+
onClick: C[11] || (C[11] = (e) => P.openFieldOptionForm(null, -1, "enum"))
|
|
341
340
|
}, {
|
|
342
|
-
default:
|
|
341
|
+
default: x(() => [...C[27] || (C[27] = [_("添加枚举值", -1)])]),
|
|
343
342
|
_: 1
|
|
344
343
|
})]),
|
|
345
|
-
|
|
344
|
+
v(U, {
|
|
346
345
|
key: "enum-table",
|
|
347
|
-
data:
|
|
346
|
+
data: N.fieldEnumList,
|
|
348
347
|
"max-height": "240",
|
|
349
348
|
border: "",
|
|
350
349
|
fit: ""
|
|
351
350
|
}, {
|
|
352
|
-
default:
|
|
353
|
-
|
|
351
|
+
default: x(() => [
|
|
352
|
+
v(V, {
|
|
354
353
|
label: "序号",
|
|
355
354
|
width: "50px",
|
|
356
355
|
type: "index"
|
|
357
356
|
}),
|
|
358
|
-
|
|
357
|
+
v(V, {
|
|
359
358
|
label: "枚举值编号",
|
|
360
359
|
prop: "id",
|
|
361
360
|
"min-width": "100px",
|
|
362
361
|
"show-overflow-tooltip": ""
|
|
363
362
|
}),
|
|
364
|
-
|
|
363
|
+
v(V, {
|
|
365
364
|
label: "枚举值名称",
|
|
366
365
|
prop: "name",
|
|
367
366
|
"min-width": "100px",
|
|
368
367
|
"show-overflow-tooltip": ""
|
|
369
368
|
}),
|
|
370
|
-
|
|
369
|
+
v(V, {
|
|
371
370
|
label: "操作",
|
|
372
371
|
width: "90px"
|
|
373
372
|
}, {
|
|
374
|
-
default:
|
|
375
|
-
|
|
373
|
+
default: x(({ row: e, $index: t }) => [
|
|
374
|
+
v(H, {
|
|
376
375
|
text: "",
|
|
377
|
-
onClick: (
|
|
376
|
+
onClick: (n) => P.openFieldOptionForm(e, t, "enum")
|
|
378
377
|
}, {
|
|
379
|
-
default:
|
|
378
|
+
default: x(() => [...C[29] || (C[29] = [_("编辑", -1)])]),
|
|
380
379
|
_: 1
|
|
381
380
|
}, 8, ["onClick"]),
|
|
382
|
-
|
|
383
|
-
|
|
381
|
+
v(B, { direction: "vertical" }),
|
|
382
|
+
v(H, {
|
|
384
383
|
text: "",
|
|
385
384
|
style: { color: "#ff4d4f" },
|
|
386
|
-
onClick: (
|
|
385
|
+
onClick: (n) => P.removeFieldOptionItem(e, t, "enum")
|
|
387
386
|
}, {
|
|
388
|
-
default:
|
|
387
|
+
default: x(() => [...C[30] || (C[30] = [_("移除", -1)])]),
|
|
389
388
|
_: 1
|
|
390
389
|
}, 8, ["onClick"])
|
|
391
390
|
]),
|
|
@@ -394,61 +393,61 @@ function P(e, t, w, T, E, P) {
|
|
|
394
393
|
]),
|
|
395
394
|
_: 1
|
|
396
395
|
}, 8, ["data"])
|
|
397
|
-
], 64)) :
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
396
|
+
], 64)) : m("v-if", !0),
|
|
397
|
+
m(" 校验规则 "),
|
|
398
|
+
v(B, { key: "validation-divider" }),
|
|
399
|
+
g("p", k, [C[32] || (C[32] = g("span", null, [g("i", { class: "el-icon-menu" }), _(" 约束条件列表: ")], -1)), v(H, {
|
|
401
400
|
type: "primary",
|
|
402
401
|
style: { "margin-left": "auto" },
|
|
403
|
-
onClick:
|
|
402
|
+
onClick: C[12] || (C[12] = (e) => P.openFieldOptionForm(null, -1, "constraint"))
|
|
404
403
|
}, {
|
|
405
|
-
default:
|
|
404
|
+
default: x(() => [...C[31] || (C[31] = [_(" 添加约束 ", -1)])]),
|
|
406
405
|
_: 1
|
|
407
406
|
})]),
|
|
408
|
-
|
|
407
|
+
v(U, {
|
|
409
408
|
key: "validation-table",
|
|
410
|
-
data:
|
|
409
|
+
data: N.fieldConstraintsList,
|
|
411
410
|
"max-height": "240",
|
|
412
411
|
border: "",
|
|
413
412
|
fit: ""
|
|
414
413
|
}, {
|
|
415
|
-
default:
|
|
416
|
-
|
|
414
|
+
default: x(() => [
|
|
415
|
+
v(V, {
|
|
417
416
|
label: "序号",
|
|
418
417
|
width: "50px",
|
|
419
418
|
type: "index"
|
|
420
419
|
}),
|
|
421
|
-
|
|
420
|
+
v(V, {
|
|
422
421
|
label: "约束名称",
|
|
423
422
|
prop: "name",
|
|
424
423
|
"min-width": "100px",
|
|
425
424
|
"show-overflow-tooltip": ""
|
|
426
425
|
}),
|
|
427
|
-
|
|
426
|
+
v(V, {
|
|
428
427
|
label: "约束配置",
|
|
429
428
|
prop: "config",
|
|
430
429
|
"min-width": "100px",
|
|
431
430
|
"show-overflow-tooltip": ""
|
|
432
431
|
}),
|
|
433
|
-
|
|
432
|
+
v(V, {
|
|
434
433
|
label: "操作",
|
|
435
434
|
width: "90px"
|
|
436
435
|
}, {
|
|
437
|
-
default:
|
|
438
|
-
|
|
436
|
+
default: x(({ row: e, $index: t }) => [
|
|
437
|
+
v(H, {
|
|
439
438
|
text: "",
|
|
440
|
-
onClick: (
|
|
439
|
+
onClick: (n) => P.openFieldOptionForm(e, t, "constraint")
|
|
441
440
|
}, {
|
|
442
|
-
default:
|
|
441
|
+
default: x(() => [...C[33] || (C[33] = [_("编辑", -1)])]),
|
|
443
442
|
_: 1
|
|
444
443
|
}, 8, ["onClick"]),
|
|
445
|
-
|
|
446
|
-
|
|
444
|
+
v(B, { direction: "vertical" }),
|
|
445
|
+
v(H, {
|
|
447
446
|
text: "",
|
|
448
447
|
style: { color: "#ff4d4f" },
|
|
449
|
-
onClick: (
|
|
448
|
+
onClick: (n) => P.removeFieldOptionItem(e, t, "constraint")
|
|
450
449
|
}, {
|
|
451
|
-
default:
|
|
450
|
+
default: x(() => [...C[34] || (C[34] = [_(" 移除 ", -1)])]),
|
|
452
451
|
_: 1
|
|
453
452
|
}, 8, ["onClick"])
|
|
454
453
|
]),
|
|
@@ -457,60 +456,60 @@ function P(e, t, w, T, E, P) {
|
|
|
457
456
|
]),
|
|
458
457
|
_: 1
|
|
459
458
|
}, 8, ["data"]),
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
459
|
+
m(" 表单属性 "),
|
|
460
|
+
v(B, { key: "property-divider" }),
|
|
461
|
+
g("p", A, [C[36] || (C[36] = g("span", null, [g("i", { class: "el-icon-menu" }), _(" 字段属性列表: ")], -1)), v(H, {
|
|
463
462
|
type: "primary",
|
|
464
463
|
style: { "margin-left": "auto" },
|
|
465
|
-
onClick:
|
|
464
|
+
onClick: C[13] || (C[13] = (e) => P.openFieldOptionForm(null, -1, "property"))
|
|
466
465
|
}, {
|
|
467
|
-
default:
|
|
466
|
+
default: x(() => [...C[35] || (C[35] = [_(" 添加属性 ", -1)])]),
|
|
468
467
|
_: 1
|
|
469
468
|
})]),
|
|
470
|
-
|
|
469
|
+
v(U, {
|
|
471
470
|
key: "property-table",
|
|
472
|
-
data:
|
|
471
|
+
data: N.fieldPropertiesList,
|
|
473
472
|
"max-height": "240",
|
|
474
473
|
border: "",
|
|
475
474
|
fit: ""
|
|
476
475
|
}, {
|
|
477
|
-
default:
|
|
478
|
-
|
|
476
|
+
default: x(() => [
|
|
477
|
+
v(V, {
|
|
479
478
|
label: "序号",
|
|
480
479
|
width: "50px",
|
|
481
480
|
type: "index"
|
|
482
481
|
}),
|
|
483
|
-
|
|
482
|
+
v(V, {
|
|
484
483
|
label: "属性编号",
|
|
485
484
|
prop: "id",
|
|
486
485
|
"min-width": "100px",
|
|
487
486
|
"show-overflow-tooltip": ""
|
|
488
487
|
}),
|
|
489
|
-
|
|
488
|
+
v(V, {
|
|
490
489
|
label: "属性值",
|
|
491
490
|
prop: "value",
|
|
492
491
|
"min-width": "100px",
|
|
493
492
|
"show-overflow-tooltip": ""
|
|
494
493
|
}),
|
|
495
|
-
|
|
494
|
+
v(V, {
|
|
496
495
|
label: "操作",
|
|
497
496
|
width: "90px"
|
|
498
497
|
}, {
|
|
499
|
-
default:
|
|
500
|
-
|
|
498
|
+
default: x(({ row: e, $index: t }) => [
|
|
499
|
+
v(H, {
|
|
501
500
|
text: "",
|
|
502
|
-
onClick: (
|
|
501
|
+
onClick: (n) => P.openFieldOptionForm(e, t, "property")
|
|
503
502
|
}, {
|
|
504
|
-
default:
|
|
503
|
+
default: x(() => [...C[37] || (C[37] = [_("编辑", -1)])]),
|
|
505
504
|
_: 1
|
|
506
505
|
}, 8, ["onClick"]),
|
|
507
|
-
|
|
508
|
-
|
|
506
|
+
v(B, { direction: "vertical" }),
|
|
507
|
+
v(H, {
|
|
509
508
|
text: "",
|
|
510
509
|
style: { color: "#ff4d4f" },
|
|
511
|
-
onClick: (
|
|
510
|
+
onClick: (n) => P.removeFieldOptionItem(e, t, "property")
|
|
512
511
|
}, {
|
|
513
|
-
default:
|
|
512
|
+
default: x(() => [...C[38] || (C[38] = [_(" 移除 ", -1)])]),
|
|
514
513
|
_: 1
|
|
515
514
|
}, 8, ["onClick"])
|
|
516
515
|
]),
|
|
@@ -519,89 +518,89 @@ function P(e, t, w, T, E, P) {
|
|
|
519
518
|
]),
|
|
520
519
|
_: 1
|
|
521
520
|
}, 8, ["data"]),
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
default:
|
|
521
|
+
m(" 底部按钮 "),
|
|
522
|
+
g("div", j, [v(H, { onClick: C[14] || (C[14] = (e) => N.fieldModelVisible = !1) }, {
|
|
523
|
+
default: x(() => [...C[39] || (C[39] = [_("取 消", -1)])]),
|
|
525
524
|
_: 1
|
|
526
|
-
}),
|
|
525
|
+
}), v(H, {
|
|
527
526
|
type: "primary",
|
|
528
527
|
onClick: P.saveField
|
|
529
528
|
}, {
|
|
530
|
-
default:
|
|
529
|
+
default: x(() => [...C[40] || (C[40] = [_("保 存", -1)])]),
|
|
531
530
|
_: 1
|
|
532
531
|
}, 8, ["onClick"])])
|
|
533
532
|
]),
|
|
534
533
|
_: 1
|
|
535
534
|
}, 8, ["visible", "size"]),
|
|
536
|
-
|
|
537
|
-
visible:
|
|
538
|
-
"onUpdate:visible":
|
|
535
|
+
v(G, {
|
|
536
|
+
visible: N.fieldOptionModelVisible,
|
|
537
|
+
"onUpdate:visible": C[22] || (C[22] = (e) => N.fieldOptionModelVisible = e),
|
|
539
538
|
class: "flow-dialog",
|
|
540
|
-
title:
|
|
539
|
+
title: N.optionModelTitle,
|
|
541
540
|
width: "600px",
|
|
542
541
|
"append-to-body": "",
|
|
543
542
|
"destroy-on-close": ""
|
|
544
543
|
}, {
|
|
545
|
-
footer:
|
|
546
|
-
default:
|
|
544
|
+
footer: x(() => [v(H, { onClick: C[21] || (C[21] = (e) => N.fieldOptionModelVisible = !1) }, {
|
|
545
|
+
default: x(() => [...C[41] || (C[41] = [_("取 消", -1)])]),
|
|
547
546
|
_: 1
|
|
548
|
-
}),
|
|
547
|
+
}), v(H, {
|
|
549
548
|
type: "primary",
|
|
550
549
|
onClick: P.saveFieldOption
|
|
551
550
|
}, {
|
|
552
|
-
default:
|
|
551
|
+
default: x(() => [...C[42] || (C[42] = [_("确 定", -1)])]),
|
|
553
552
|
_: 1
|
|
554
553
|
}, 8, ["onClick"])]),
|
|
555
|
-
default:
|
|
556
|
-
model:
|
|
554
|
+
default: x(() => [v(z, {
|
|
555
|
+
model: N.fieldOptionForm,
|
|
557
556
|
"label-width": "96px",
|
|
558
|
-
onSubmit:
|
|
557
|
+
onSubmit: C[20] || (C[20] = S(() => {}, ["prevent"]))
|
|
559
558
|
}, {
|
|
560
|
-
default:
|
|
561
|
-
|
|
559
|
+
default: x(() => [
|
|
560
|
+
N.fieldOptionType === "constraint" ? m("v-if", !0) : (y(), p(I, {
|
|
562
561
|
key: "option-id",
|
|
563
562
|
label: "编号/ID"
|
|
564
563
|
}, {
|
|
565
|
-
default:
|
|
566
|
-
modelValue:
|
|
567
|
-
"onUpdate:modelValue":
|
|
564
|
+
default: x(() => [v(F, {
|
|
565
|
+
modelValue: N.fieldOptionForm.id,
|
|
566
|
+
"onUpdate:modelValue": C[16] || (C[16] = (e) => N.fieldOptionForm.id = e),
|
|
568
567
|
clearable: ""
|
|
569
568
|
}, null, 8, ["modelValue"])]),
|
|
570
569
|
_: 1
|
|
571
570
|
})),
|
|
572
|
-
|
|
571
|
+
N.fieldOptionType === "property" ? m("v-if", !0) : (y(), p(I, {
|
|
573
572
|
key: "option-name",
|
|
574
573
|
label: "名称"
|
|
575
574
|
}, {
|
|
576
|
-
default:
|
|
577
|
-
modelValue:
|
|
578
|
-
"onUpdate:modelValue":
|
|
575
|
+
default: x(() => [v(F, {
|
|
576
|
+
modelValue: N.fieldOptionForm.name,
|
|
577
|
+
"onUpdate:modelValue": C[17] || (C[17] = (e) => N.fieldOptionForm.name = e),
|
|
579
578
|
clearable: ""
|
|
580
579
|
}, null, 8, ["modelValue"])]),
|
|
581
580
|
_: 1
|
|
582
581
|
})),
|
|
583
|
-
|
|
582
|
+
N.fieldOptionType === "constraint" ? (y(), p(I, {
|
|
584
583
|
key: "option-config",
|
|
585
584
|
label: "配置"
|
|
586
585
|
}, {
|
|
587
|
-
default:
|
|
588
|
-
modelValue:
|
|
589
|
-
"onUpdate:modelValue":
|
|
586
|
+
default: x(() => [v(F, {
|
|
587
|
+
modelValue: N.fieldOptionForm.config,
|
|
588
|
+
"onUpdate:modelValue": C[18] || (C[18] = (e) => N.fieldOptionForm.config = e),
|
|
590
589
|
clearable: ""
|
|
591
590
|
}, null, 8, ["modelValue"])]),
|
|
592
591
|
_: 1
|
|
593
|
-
})) :
|
|
594
|
-
|
|
592
|
+
})) : m("v-if", !0),
|
|
593
|
+
N.fieldOptionType === "property" ? (y(), p(I, {
|
|
595
594
|
key: "option-value",
|
|
596
595
|
label: "值"
|
|
597
596
|
}, {
|
|
598
|
-
default:
|
|
599
|
-
modelValue:
|
|
600
|
-
"onUpdate:modelValue":
|
|
597
|
+
default: x(() => [v(F, {
|
|
598
|
+
modelValue: N.fieldOptionForm.value,
|
|
599
|
+
"onUpdate:modelValue": C[19] || (C[19] = (e) => N.fieldOptionForm.value = e),
|
|
601
600
|
clearable: ""
|
|
602
601
|
}, null, 8, ["modelValue"])]),
|
|
603
602
|
_: 1
|
|
604
|
-
})) :
|
|
603
|
+
})) : m("v-if", !0)
|
|
605
604
|
]),
|
|
606
605
|
_: 1
|
|
607
606
|
}, 8, ["model"])]),
|
|
@@ -609,6 +608,6 @@ function P(e, t, w, T, E, P) {
|
|
|
609
608
|
}, 8, ["visible", "title"])
|
|
610
609
|
]);
|
|
611
610
|
}
|
|
612
|
-
var
|
|
611
|
+
var N = /* @__PURE__ */ e(w, [["render", M]]);
|
|
613
612
|
//#endregion
|
|
614
|
-
export {
|
|
613
|
+
export { N as default };
|