@yoooloo42/joker 1.0.90 → 1.0.91
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/index.cjs.js +75 -75
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +76 -76
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -22523,7 +22523,7 @@ const props = __props;
|
|
|
22523
22523
|
// 遵循 Vue 3 v-model 规范,使用 update:modelValue 事件
|
|
22524
22524
|
const emit = __emit;
|
|
22525
22525
|
|
|
22526
|
-
|
|
22526
|
+
let formData_box = vue.reactive(JSON.parse(JSON.stringify(props.modelValue)));
|
|
22527
22527
|
vue.reactive(Object.assign({}, props.myProps));
|
|
22528
22528
|
const scopeThis_box = vue.reactive(Object.assign({}, props.scopeThis));
|
|
22529
22529
|
const propsItem_box = vue.reactive(Object.assign({}, props.item));
|
|
@@ -22624,7 +22624,7 @@ const props = __props;
|
|
|
22624
22624
|
// 遵循 Vue 3 v-model 规范,使用 update:modelValue 事件
|
|
22625
22625
|
const emit = __emit;
|
|
22626
22626
|
|
|
22627
|
-
|
|
22627
|
+
let formData_box = vue.reactive(JSON.parse(JSON.stringify(props.modelValue)));
|
|
22628
22628
|
const formProps_box = vue.reactive(Object.assign({}, props.myProps));
|
|
22629
22629
|
const scopeThis_box = vue.reactive(Object.assign({}, props.scopeThis));
|
|
22630
22630
|
const propsItem_box = vue.reactive(Object.assign({}, props.item));
|
|
@@ -22882,34 +22882,34 @@ return (_ctx, _cache) => {
|
|
|
22882
22882
|
? (vue.openBlock(), vue.createElementBlock("div", {
|
|
22883
22883
|
key: 0,
|
|
22884
22884
|
style: vue.normalizeStyle(style.text(propsItem_box, formProps_box))
|
|
22885
|
-
}, vue.toDisplayString(formData_box[propsItem_box.fieldName] ? formData_box[propsItem_box.fieldName] : ' '), 5 /* TEXT, STYLE */))
|
|
22885
|
+
}, vue.toDisplayString(vue.unref(formData_box)[propsItem_box.fieldName] ? vue.unref(formData_box)[propsItem_box.fieldName] : ' '), 5 /* TEXT, STYLE */))
|
|
22886
22886
|
: vue.createCommentVNode("v-if", true),
|
|
22887
22887
|
(propsItem_box.inputType === 'text0')
|
|
22888
22888
|
? (vue.openBlock(), vue.createElementBlock("div", {
|
|
22889
22889
|
key: 1,
|
|
22890
22890
|
style: vue.normalizeStyle(style.text0(propsItem_box))
|
|
22891
|
-
}, vue.toDisplayString(formData_box[propsItem_box.fieldName] ? formData_box[propsItem_box.fieldName] : ' '), 5 /* TEXT, STYLE */))
|
|
22891
|
+
}, vue.toDisplayString(vue.unref(formData_box)[propsItem_box.fieldName] ? vue.unref(formData_box)[propsItem_box.fieldName] : ' '), 5 /* TEXT, STYLE */))
|
|
22892
22892
|
: vue.createCommentVNode("v-if", true),
|
|
22893
22893
|
(!propsItem_box.inputType)
|
|
22894
22894
|
? (vue.openBlock(), vue.createElementBlock("div", {
|
|
22895
22895
|
key: 2,
|
|
22896
22896
|
style: vue.normalizeStyle(style.text(propsItem_box, formProps_box))
|
|
22897
|
-
}, vue.toDisplayString(formData_box[propsItem_box.fieldName] ? formData_box[propsItem_box.fieldName] : ' '), 5 /* TEXT, STYLE */))
|
|
22897
|
+
}, vue.toDisplayString(vue.unref(formData_box)[propsItem_box.fieldName] ? vue.unref(formData_box)[propsItem_box.fieldName] : ' '), 5 /* TEXT, STYLE */))
|
|
22898
22898
|
: vue.createCommentVNode("v-if", true),
|
|
22899
22899
|
(propsItem_box.inputType === 'expression')
|
|
22900
22900
|
? (vue.openBlock(), vue.createElementBlock("div", {
|
|
22901
22901
|
key: 3,
|
|
22902
22902
|
style: vue.normalizeStyle(style.text(propsItem_box, formProps_box))
|
|
22903
|
-
}, vue.toDisplayString(propsItem_box.hdlExpression && propsItem_box.hdlExpression({formData: formData_box, scopeThis: __props.scopeThis})
|
|
22904
|
-
? propsItem_box.hdlExpression({formData: formData_box, scopeThis: scopeThis_box})
|
|
22903
|
+
}, vue.toDisplayString(propsItem_box.hdlExpression && propsItem_box.hdlExpression({formData: vue.unref(formData_box), scopeThis: __props.scopeThis})
|
|
22904
|
+
? propsItem_box.hdlExpression({formData: vue.unref(formData_box), scopeThis: scopeThis_box})
|
|
22905
22905
|
: ' '), 5 /* TEXT, STYLE */))
|
|
22906
22906
|
: vue.createCommentVNode("v-if", true),
|
|
22907
22907
|
(propsItem_box.inputType === 'expression0')
|
|
22908
22908
|
? (vue.openBlock(), vue.createElementBlock("div", {
|
|
22909
22909
|
key: 4,
|
|
22910
22910
|
style: vue.normalizeStyle(style.text0(propsItem_box))
|
|
22911
|
-
}, vue.toDisplayString(propsItem_box.hdlExpression && propsItem_box.hdlExpression({formData: formData_box, scopeThis: scopeThis_box})
|
|
22912
|
-
? propsItem_box.hdlExpression({formData: formData_box, scopeThis: scopeThis_box})
|
|
22911
|
+
}, vue.toDisplayString(propsItem_box.hdlExpression && propsItem_box.hdlExpression({formData: vue.unref(formData_box), scopeThis: scopeThis_box})
|
|
22912
|
+
? propsItem_box.hdlExpression({formData: vue.unref(formData_box), scopeThis: scopeThis_box})
|
|
22913
22913
|
: ' '), 5 /* TEXT, STYLE */))
|
|
22914
22914
|
: vue.createCommentVNode("v-if", true),
|
|
22915
22915
|
(propsItem_box.inputType === 'line')
|
|
@@ -22922,8 +22922,8 @@ return (_ctx, _cache) => {
|
|
|
22922
22922
|
(propsItem_box.inputType === 'input')
|
|
22923
22923
|
? (vue.openBlock(), vue.createBlock(_component_el_input, {
|
|
22924
22924
|
key: 6,
|
|
22925
|
-
modelValue: formData_box[propsItem_box.fieldName],
|
|
22926
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => ((formData_box[propsItem_box.fieldName]) = $event)),
|
|
22925
|
+
modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
|
|
22926
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
|
|
22927
22927
|
placeholder: input.placeholder,
|
|
22928
22928
|
style: vue.normalizeStyle(style.input(propsItem_box, formProps_box)),
|
|
22929
22929
|
onInput: input.hdlCannotInput,
|
|
@@ -22934,8 +22934,8 @@ return (_ctx, _cache) => {
|
|
|
22934
22934
|
? (vue.openBlock(), vue.createBlock(_component_el_select, {
|
|
22935
22935
|
key: 7,
|
|
22936
22936
|
class: "deep-input",
|
|
22937
|
-
modelValue: formData_box[propsItem_box.fieldName],
|
|
22938
|
-
"onUpdate:modelValue": _cache[1] || (_cache[1] = $event => ((formData_box[propsItem_box.fieldName]) = $event)),
|
|
22937
|
+
modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
|
|
22938
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
|
|
22939
22939
|
placeholder: select.placeholder,
|
|
22940
22940
|
filterable: "",
|
|
22941
22941
|
style: vue.normalizeStyle(style.input(propsItem_box, formProps_box)),
|
|
@@ -22957,8 +22957,8 @@ return (_ctx, _cache) => {
|
|
|
22957
22957
|
? (vue.openBlock(), vue.createBlock(_component_el_date_picker, {
|
|
22958
22958
|
key: 8,
|
|
22959
22959
|
class: "deep-input",
|
|
22960
|
-
modelValue: formData_box[propsItem_box.fieldName],
|
|
22961
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => ((formData_box[propsItem_box.fieldName]) = $event)),
|
|
22960
|
+
modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
|
|
22961
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
|
|
22962
22962
|
type: propsItem_box.type ? propsItem_box.type : 'datetime',
|
|
22963
22963
|
placeholder: datePicker.placeholder,
|
|
22964
22964
|
format: datePicker.format,
|
|
@@ -22969,8 +22969,8 @@ return (_ctx, _cache) => {
|
|
|
22969
22969
|
(propsItem_box.inputType === 'input-number')
|
|
22970
22970
|
? (vue.openBlock(), vue.createBlock(_component_el_input_number, {
|
|
22971
22971
|
key: 9,
|
|
22972
|
-
modelValue: formData_box[propsItem_box.fieldName],
|
|
22973
|
-
"onUpdate:modelValue": _cache[3] || (_cache[3] = $event => ((formData_box[propsItem_box.fieldName]) = $event)),
|
|
22972
|
+
modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
|
|
22973
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
|
|
22974
22974
|
size: style.input_number(propsItem_box).facade.size,
|
|
22975
22975
|
min: 'min' in propsItem_box ? propsItem_box.min : 1,
|
|
22976
22976
|
max: 'max' in propsItem_box ? propsItem_box.max : 100,
|
|
@@ -22981,8 +22981,8 @@ return (_ctx, _cache) => {
|
|
|
22981
22981
|
(propsItem_box.inputType === 'switch')
|
|
22982
22982
|
? (vue.openBlock(), vue.createBlock(_component_el_switch, {
|
|
22983
22983
|
key: 10,
|
|
22984
|
-
modelValue: formData_box[propsItem_box.fieldName],
|
|
22985
|
-
"onUpdate:modelValue": _cache[4] || (_cache[4] = $event => ((formData_box[propsItem_box.fieldName]) = $event)),
|
|
22984
|
+
modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
|
|
22985
|
+
"onUpdate:modelValue": _cache[4] || (_cache[4] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
|
|
22986
22986
|
"active-text": propsItem_box.activeText,
|
|
22987
22987
|
"inactive-text": propsItem_box.inactiveText,
|
|
22988
22988
|
"active-value": propsItem_box.activeValue,
|
|
@@ -22995,8 +22995,8 @@ return (_ctx, _cache) => {
|
|
|
22995
22995
|
(propsItem_box.inputType === 'radio-group')
|
|
22996
22996
|
? (vue.openBlock(), vue.createBlock(_component_el_radio_group, {
|
|
22997
22997
|
key: 11,
|
|
22998
|
-
modelValue: formData_box[propsItem_box.fieldName],
|
|
22999
|
-
"onUpdate:modelValue": _cache[5] || (_cache[5] = $event => ((formData_box[propsItem_box.fieldName]) = $event)),
|
|
22998
|
+
modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
|
|
22999
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
|
|
23000
23000
|
disabled: !!propsItem_box.disabled,
|
|
23001
23001
|
onChange: radioGroup.hdlChange
|
|
23002
23002
|
}, {
|
|
@@ -23041,7 +23041,7 @@ return (_ctx, _cache) => {
|
|
|
23041
23041
|
plain: style.button_group(propsItem_box, item0, item1).button.facade.plain,
|
|
23042
23042
|
round: style.button_group(propsItem_box, item0, item1).button.facade.round,
|
|
23043
23043
|
circle: style.button_group(propsItem_box, item0, item1).button.facade.circle,
|
|
23044
|
-
onClick: $event => (item1.hdlClick ? item1.hdlClick({formData: formData_box, scopeThis: scopeThis_box}) : null),
|
|
23044
|
+
onClick: $event => (item1.hdlClick ? item1.hdlClick({formData: vue.unref(formData_box), scopeThis: scopeThis_box}) : null),
|
|
23045
23045
|
key: index1
|
|
23046
23046
|
}, {
|
|
23047
23047
|
default: vue.withCtx(() => [
|
|
@@ -23075,15 +23075,15 @@ return (_ctx, _cache) => {
|
|
|
23075
23075
|
}, null, 8 /* PROPS */, ["style", "src", "preview-src-list"])
|
|
23076
23076
|
]),
|
|
23077
23077
|
vue.createCommentVNode(" 设置了图片删除功能,同时图片不为空 "),
|
|
23078
|
-
(!!propsItem_box.imageDelete && !!formData_box[propsItem_box.fieldName])
|
|
23078
|
+
(!!propsItem_box.imageDelete && !!vue.unref(formData_box)[propsItem_box.fieldName])
|
|
23079
23079
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$4, [
|
|
23080
23080
|
vue.createVNode(_component_el_button, {
|
|
23081
23081
|
size: "small",
|
|
23082
|
-
icon: !formData_box[propsItem_box.imageDelete] ? 'el-icon-delete' : 'el-icon-magic-stick',
|
|
23082
|
+
icon: !vue.unref(formData_box)[propsItem_box.imageDelete] ? 'el-icon-delete' : 'el-icon-magic-stick',
|
|
23083
23083
|
onClick: image.delete
|
|
23084
23084
|
}, {
|
|
23085
23085
|
default: vue.withCtx(() => [
|
|
23086
|
-
vue.createTextVNode(vue.toDisplayString(formData_box[propsItem_box.imageDelete] ? '图片已删除,恢复' : '删除'), 1 /* TEXT */)
|
|
23086
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(formData_box)[propsItem_box.imageDelete] ? '图片已删除,恢复' : '删除'), 1 /* TEXT */)
|
|
23087
23087
|
]),
|
|
23088
23088
|
_: 1 /* STABLE */
|
|
23089
23089
|
}, 8 /* PROPS */, ["icon", "onClick"])
|
|
@@ -23094,7 +23094,7 @@ return (_ctx, _cache) => {
|
|
|
23094
23094
|
vue.createCommentVNode(" 多个图片 "),
|
|
23095
23095
|
(propsItem_box.inputType === 'images')
|
|
23096
23096
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$1, [
|
|
23097
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(formData_box[propsItem_box.fieldName], (itemImages, indexImages) => {
|
|
23097
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(formData_box)[propsItem_box.fieldName], (itemImages, indexImages) => {
|
|
23098
23098
|
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
23099
23099
|
key: indexImages,
|
|
23100
23100
|
style: vue.normalizeStyle(style.images(propsItem_box, formProps_box).itemBox)
|
|
@@ -23114,7 +23114,7 @@ return (_ctx, _cache) => {
|
|
|
23114
23114
|
onClick: $event => (images.delete(itemImages, indexImages))
|
|
23115
23115
|
}, {
|
|
23116
23116
|
default: vue.withCtx(() => [
|
|
23117
|
-
vue.createTextVNode(vue.toDisplayString(formData_box[propsItem_box.imageDelete].includes(itemImages) ? '恢复' : '删除'), 1 /* TEXT */)
|
|
23117
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(formData_box)[propsItem_box.imageDelete].includes(itemImages) ? '恢复' : '删除'), 1 /* TEXT */)
|
|
23118
23118
|
]),
|
|
23119
23119
|
_: 2 /* DYNAMIC */
|
|
23120
23120
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["onClick"])
|
|
@@ -23131,8 +23131,8 @@ return (_ctx, _cache) => {
|
|
|
23131
23131
|
style: vue.normalizeStyle(style.richtext(propsItem_box, formProps_box))
|
|
23132
23132
|
}, [
|
|
23133
23133
|
vue.createVNode(_component_ly0Richtext, {
|
|
23134
|
-
modelValue: formData_box[propsItem_box.fieldName],
|
|
23135
|
-
"onUpdate:modelValue": _cache[6] || (_cache[6] = $event => ((formData_box[propsItem_box.fieldName]) = $event)),
|
|
23134
|
+
modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
|
|
23135
|
+
"onUpdate:modelValue": _cache[6] || (_cache[6] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
|
|
23136
23136
|
myProps: richtextProps.value
|
|
23137
23137
|
}, null, 8 /* PROPS */, ["modelValue", "myProps"])
|
|
23138
23138
|
], 4 /* STYLE */))
|
|
@@ -23141,7 +23141,7 @@ return (_ctx, _cache) => {
|
|
|
23141
23141
|
(propsItem_box.inputType === 'richtextShow')
|
|
23142
23142
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, [
|
|
23143
23143
|
vue.createElementVNode("div", {
|
|
23144
|
-
innerHTML: formData_box[propsItem_box.fieldName]
|
|
23144
|
+
innerHTML: vue.unref(formData_box)[propsItem_box.fieldName]
|
|
23145
23145
|
}, null, 8 /* PROPS */, _hoisted_8)
|
|
23146
23146
|
]))
|
|
23147
23147
|
: vue.createCommentVNode("v-if", true),
|
|
@@ -23173,15 +23173,15 @@ return (_ctx, _cache) => {
|
|
|
23173
23173
|
], 8 /* PROPS */, _hoisted_10)
|
|
23174
23174
|
]),
|
|
23175
23175
|
vue.createCommentVNode(" 设置了视频删除功能,同时视频不为空 "),
|
|
23176
|
-
(!!propsItem_box.videoDelete && !!formData_box[propsItem_box.fieldName])
|
|
23176
|
+
(!!propsItem_box.videoDelete && !!vue.unref(formData_box)[propsItem_box.fieldName])
|
|
23177
23177
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_14, [
|
|
23178
23178
|
vue.createVNode(_component_el_button, {
|
|
23179
23179
|
size: "small",
|
|
23180
|
-
icon: !formData_box[propsItem_box.videoDelete] ? 'el-icon-delete' : 'el-icon-magic-stick',
|
|
23180
|
+
icon: !vue.unref(formData_box)[propsItem_box.videoDelete] ? 'el-icon-delete' : 'el-icon-magic-stick',
|
|
23181
23181
|
onClick: video.delete
|
|
23182
23182
|
}, {
|
|
23183
23183
|
default: vue.withCtx(() => [
|
|
23184
|
-
vue.createTextVNode(vue.toDisplayString(!!formData_box[propsItem_box.videoDelete] ? '视频已删除,恢复' : '删除'), 1 /* TEXT */)
|
|
23184
|
+
vue.createTextVNode(vue.toDisplayString(!!vue.unref(formData_box)[propsItem_box.videoDelete] ? '视频已删除,恢复' : '删除'), 1 /* TEXT */)
|
|
23185
23185
|
]),
|
|
23186
23186
|
_: 1 /* STABLE */
|
|
23187
23187
|
}, 8 /* PROPS */, ["icon", "onClick"])
|
|
@@ -23193,7 +23193,7 @@ return (_ctx, _cache) => {
|
|
|
23193
23193
|
vue.createCommentVNode(" 下载 "),
|
|
23194
23194
|
(propsItem_box.inputType === 'download')
|
|
23195
23195
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_15, [
|
|
23196
|
-
(formData_box[propsItem_box.fieldName])
|
|
23196
|
+
(vue.unref(formData_box)[propsItem_box.fieldName])
|
|
23197
23197
|
? (vue.openBlock(), vue.createElementBlock("a", {
|
|
23198
23198
|
key: 0,
|
|
23199
23199
|
style: vue.normalizeStyle(style.download.style),
|
|
@@ -23212,8 +23212,8 @@ return (_ctx, _cache) => {
|
|
|
23212
23212
|
(propsItem_box.inputType === 'upload')
|
|
23213
23213
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_17, [
|
|
23214
23214
|
vue.createVNode(_component_ly0Upload, {
|
|
23215
|
-
modelValue: formData_box[propsItem_box.fieldName],
|
|
23216
|
-
"onUpdate:modelValue": _cache[7] || (_cache[7] = $event => ((formData_box[propsItem_box.fieldName]) = $event)),
|
|
23215
|
+
modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
|
|
23216
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
|
|
23217
23217
|
myProps: {uploadUrl: upload.uploadUrl}
|
|
23218
23218
|
}, null, 8 /* PROPS */, ["modelValue", "myProps"])
|
|
23219
23219
|
]))
|
|
@@ -23222,8 +23222,8 @@ return (_ctx, _cache) => {
|
|
|
23222
23222
|
(propsItem_box.inputType === 'upload-drag')
|
|
23223
23223
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_18, [
|
|
23224
23224
|
vue.createVNode(_component_ly0Upload_drag, {
|
|
23225
|
-
modelValue: formData_box[propsItem_box.fieldName],
|
|
23226
|
-
"onUpdate:modelValue": _cache[8] || (_cache[8] = $event => ((formData_box[propsItem_box.fieldName]) = $event)),
|
|
23225
|
+
modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
|
|
23226
|
+
"onUpdate:modelValue": _cache[8] || (_cache[8] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
|
|
23227
23227
|
myProps: {uploadUrl: upload.uploadUrl}
|
|
23228
23228
|
}, null, 8 /* PROPS */, ["modelValue", "myProps"])
|
|
23229
23229
|
]))
|
|
@@ -23232,8 +23232,8 @@ return (_ctx, _cache) => {
|
|
|
23232
23232
|
(propsItem_box.inputType === 'upload-picture')
|
|
23233
23233
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_19, [
|
|
23234
23234
|
vue.createVNode(_component_ly0Upload_picture, {
|
|
23235
|
-
modelValue: formData_box[propsItem_box.fieldName],
|
|
23236
|
-
"onUpdate:modelValue": _cache[9] || (_cache[9] = $event => ((formData_box[propsItem_box.fieldName]) = $event)),
|
|
23235
|
+
modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
|
|
23236
|
+
"onUpdate:modelValue": _cache[9] || (_cache[9] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
|
|
23237
23237
|
myProps: {uploadUrl: upload.uploadUrl_image}
|
|
23238
23238
|
}, null, 8 /* PROPS */, ["modelValue", "myProps"])
|
|
23239
23239
|
]))
|
|
@@ -23242,8 +23242,8 @@ return (_ctx, _cache) => {
|
|
|
23242
23242
|
(propsItem_box.inputType === 'upload-picture-card')
|
|
23243
23243
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_20, [
|
|
23244
23244
|
vue.createVNode(_component_ly0Upload_pictureCard, {
|
|
23245
|
-
modelValue: formData_box[propsItem_box.fieldName],
|
|
23246
|
-
"onUpdate:modelValue": _cache[10] || (_cache[10] = $event => ((formData_box[propsItem_box.fieldName]) = $event)),
|
|
23245
|
+
modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
|
|
23246
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
|
|
23247
23247
|
myProps: {uploadUrl: upload.uploadUrl_image}
|
|
23248
23248
|
}, null, 8 /* PROPS */, ["modelValue", "myProps"])
|
|
23249
23249
|
]))
|
|
@@ -23252,8 +23252,8 @@ return (_ctx, _cache) => {
|
|
|
23252
23252
|
(propsItem_box.inputType === 'upload-avatar')
|
|
23253
23253
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_21, [
|
|
23254
23254
|
vue.createVNode(_component_ly0Upload_avatar, {
|
|
23255
|
-
modelValue: formData_box[propsItem_box.fieldName],
|
|
23256
|
-
"onUpdate:modelValue": _cache[11] || (_cache[11] = $event => ((formData_box[propsItem_box.fieldName]) = $event)),
|
|
23255
|
+
modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
|
|
23256
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
|
|
23257
23257
|
myProps: {uploadUrl: upload.uploadUrl_image}
|
|
23258
23258
|
}, null, 8 /* PROPS */, ["modelValue", "myProps"])
|
|
23259
23259
|
]))
|
|
@@ -23262,8 +23262,8 @@ return (_ctx, _cache) => {
|
|
|
23262
23262
|
(propsItem_box.inputType === 'upload-carplate')
|
|
23263
23263
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_22, [
|
|
23264
23264
|
vue.createVNode(_component_ly0Upload_carplate, {
|
|
23265
|
-
modelValue: formData_box[propsItem_box.fieldName],
|
|
23266
|
-
"onUpdate:modelValue": _cache[12] || (_cache[12] = $event => ((formData_box[propsItem_box.fieldName]) = $event)),
|
|
23265
|
+
modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
|
|
23266
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
|
|
23267
23267
|
myProps: {uploadUrl: upload.uploadUrl_carplate}
|
|
23268
23268
|
}, null, 8 /* PROPS */, ["modelValue", "myProps"])
|
|
23269
23269
|
]))
|
|
@@ -23272,8 +23272,8 @@ return (_ctx, _cache) => {
|
|
|
23272
23272
|
(propsItem_box.inputType === 'd3gbt2260')
|
|
23273
23273
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_23, [
|
|
23274
23274
|
vue.createVNode(_component_ly0gbt2260, {
|
|
23275
|
-
modelValue: formData_box[propsItem_box.fieldName],
|
|
23276
|
-
"onUpdate:modelValue": _cache[13] || (_cache[13] = $event => ((formData_box[propsItem_box.fieldName]) = $event)),
|
|
23275
|
+
modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
|
|
23276
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
|
|
23277
23277
|
myProps: {readOnly: propsItem_box.readOnly}
|
|
23278
23278
|
}, null, 8 /* PROPS */, ["modelValue", "myProps"])
|
|
23279
23279
|
]))
|
|
@@ -23282,8 +23282,8 @@ return (_ctx, _cache) => {
|
|
|
23282
23282
|
(propsItem_box.inputType === 'd7group')
|
|
23283
23283
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_24, [
|
|
23284
23284
|
vue.createVNode(_component_ly0d7group, {
|
|
23285
|
-
modelValue: formData_box[propsItem_box.fieldName],
|
|
23286
|
-
"onUpdate:modelValue": _cache[14] || (_cache[14] = $event => ((formData_box[propsItem_box.fieldName]) = $event)),
|
|
23285
|
+
modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
|
|
23286
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
|
|
23287
23287
|
myProps: {readOnly: propsItem_box.readOnly}
|
|
23288
23288
|
}, null, 8 /* PROPS */, ["modelValue", "myProps"])
|
|
23289
23289
|
]))
|
|
@@ -23292,8 +23292,8 @@ return (_ctx, _cache) => {
|
|
|
23292
23292
|
(propsItem_box.inputType === 'd7postal')
|
|
23293
23293
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_25, [
|
|
23294
23294
|
vue.createVNode(_component_ly0d7postal, {
|
|
23295
|
-
modelValue: formData_box[propsItem_box.fieldName],
|
|
23296
|
-
"onUpdate:modelValue": _cache[15] || (_cache[15] = $event => ((formData_box[propsItem_box.fieldName]) = $event)),
|
|
23295
|
+
modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
|
|
23296
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
|
|
23297
23297
|
myProps: {readOnly: propsItem_box.readOnly}
|
|
23298
23298
|
}, null, 8 /* PROPS */, ["modelValue", "myProps"])
|
|
23299
23299
|
]))
|
|
@@ -23302,8 +23302,8 @@ return (_ctx, _cache) => {
|
|
|
23302
23302
|
(propsItem_box.inputType === 'd7price')
|
|
23303
23303
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_26, [
|
|
23304
23304
|
vue.createVNode(_component_ly0d7price, {
|
|
23305
|
-
modelValue: formData_box[propsItem_box.fieldName],
|
|
23306
|
-
"onUpdate:modelValue": _cache[16] || (_cache[16] = $event => ((formData_box[propsItem_box.fieldName]) = $event)),
|
|
23305
|
+
modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
|
|
23306
|
+
"onUpdate:modelValue": _cache[16] || (_cache[16] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
|
|
23307
23307
|
myProps: {readOnly: propsItem_box.readOnly}
|
|
23308
23308
|
}, null, 8 /* PROPS */, ["modelValue", "myProps"])
|
|
23309
23309
|
]))
|
|
@@ -23312,8 +23312,8 @@ return (_ctx, _cache) => {
|
|
|
23312
23312
|
(propsItem_box.inputType === 'd7size')
|
|
23313
23313
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_27, [
|
|
23314
23314
|
vue.createVNode(_component_ly0d7size, {
|
|
23315
|
-
modelValue: formData_box[propsItem_box.fieldName],
|
|
23316
|
-
"onUpdate:modelValue": _cache[17] || (_cache[17] = $event => ((formData_box[propsItem_box.fieldName]) = $event)),
|
|
23315
|
+
modelValue: vue.unref(formData_box)[propsItem_box.fieldName],
|
|
23316
|
+
"onUpdate:modelValue": _cache[17] || (_cache[17] = $event => ((vue.unref(formData_box)[propsItem_box.fieldName]) = $event)),
|
|
23317
23317
|
myProps: {readOnly: propsItem_box.readOnly}
|
|
23318
23318
|
}, null, 8 /* PROPS */, ["modelValue", "myProps"])
|
|
23319
23319
|
]))
|
|
@@ -23322,8 +23322,8 @@ return (_ctx, _cache) => {
|
|
|
23322
23322
|
(propsItem_box.inputType === 'd7thumb')
|
|
23323
23323
|
? (vue.openBlock(), vue.createElementBlock("div", _hoisted_28, [
|
|
23324
23324
|
vue.createVNode(_component_ly0d7thumb, {
|
|
23325
|
-
modelValue: formData_box,
|
|
23326
|
-
"onUpdate:modelValue": _cache[18] || (_cache[18] = $event => ((formData_box) = $event)),
|
|
23325
|
+
modelValue: vue.unref(formData_box),
|
|
23326
|
+
"onUpdate:modelValue": _cache[18] || (_cache[18] = $event => (vue.isRef(formData_box) ? (formData_box).value = $event : formData_box = $event)),
|
|
23327
23327
|
myProps: {
|
|
23328
23328
|
thumb: {
|
|
23329
23329
|
fieldName: propsItem_box.thumb.fieldName || formProps_box.para.ly0d7thumb.thumb.fieldName,
|
|
@@ -23380,7 +23380,7 @@ const props = __props;
|
|
|
23380
23380
|
// 遵循 Vue 3 v-model 规范,使用 update:modelValue 事件
|
|
23381
23381
|
const emit = __emit;
|
|
23382
23382
|
|
|
23383
|
-
|
|
23383
|
+
let formData_box = vue.reactive(JSON.parse(JSON.stringify(props.modelValue)));
|
|
23384
23384
|
const formProps_box = vue.reactive(Object.assign({}, props.myProps));
|
|
23385
23385
|
const scopeThis_box = vue.reactive(Object.assign({}, props.scopeThis));
|
|
23386
23386
|
|
|
@@ -23463,7 +23463,7 @@ return (_ctx, _cache) => {
|
|
|
23463
23463
|
vue.createElementVNode("tbody", null, [
|
|
23464
23464
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item.items, (item0, index0) => {
|
|
23465
23465
|
return (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index0 }, [
|
|
23466
|
-
(item0.hdlVisible ? item0.hdlVisible({formData: formData_box, scopeThis: scopeThis_box}) : true)
|
|
23466
|
+
(item0.hdlVisible ? item0.hdlVisible({formData: vue.unref(formData_box), scopeThis: scopeThis_box}) : true)
|
|
23467
23467
|
? (vue.openBlock(), vue.createElementBlock("tr", _hoisted_1$c, [
|
|
23468
23468
|
(!!item0.label)
|
|
23469
23469
|
? (vue.openBlock(), vue.createElementBlock("td", {
|
|
@@ -23471,8 +23471,8 @@ return (_ctx, _cache) => {
|
|
|
23471
23471
|
style: vue.normalizeStyle(style.field_box.left)
|
|
23472
23472
|
}, [
|
|
23473
23473
|
vue.createVNode(script$h, {
|
|
23474
|
-
modelValue: formData_box,
|
|
23475
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => ((formData_box) = $event)),
|
|
23474
|
+
modelValue: vue.unref(formData_box),
|
|
23475
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (vue.isRef(formData_box) ? (formData_box).value = $event : formData_box = $event)),
|
|
23476
23476
|
myProps: formProps_box,
|
|
23477
23477
|
scopeThis: scopeThis_box,
|
|
23478
23478
|
item: item0
|
|
@@ -23497,7 +23497,7 @@ return (_ctx, _cache) => {
|
|
|
23497
23497
|
default: vue.withCtx(() => [
|
|
23498
23498
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item0.items, (item1, index1) => {
|
|
23499
23499
|
return (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index1 }, [
|
|
23500
|
-
(item1.hdlVisible ? item1.hdlVisible({formData: formData_box, scopeThis: scopeThis_box}) : true)
|
|
23500
|
+
(item1.hdlVisible ? item1.hdlVisible({formData: vue.unref(formData_box), scopeThis: scopeThis_box}) : true)
|
|
23501
23501
|
? (vue.openBlock(), vue.createBlock(_component_el_collapse_item, {
|
|
23502
23502
|
key: 0,
|
|
23503
23503
|
title: item1.title,
|
|
@@ -23511,7 +23511,7 @@ return (_ctx, _cache) => {
|
|
|
23511
23511
|
return (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index2 }, [
|
|
23512
23512
|
(
|
|
23513
23513
|
item2.hdlVisible
|
|
23514
|
-
? item2.hdlVisible({formData: formData_box, scopeThis: scopeThis_box})
|
|
23514
|
+
? item2.hdlVisible({formData: vue.unref(formData_box), scopeThis: scopeThis_box})
|
|
23515
23515
|
: true
|
|
23516
23516
|
)
|
|
23517
23517
|
? (vue.openBlock(), vue.createElementBlock("tr", _hoisted_3$5, [
|
|
@@ -23521,8 +23521,8 @@ return (_ctx, _cache) => {
|
|
|
23521
23521
|
style: vue.normalizeStyle(style.field_box.left)
|
|
23522
23522
|
}, [
|
|
23523
23523
|
vue.createVNode(script$h, {
|
|
23524
|
-
modelValue: formData_box,
|
|
23525
|
-
"onUpdate:modelValue": _cache[1] || (_cache[1] = $event => ((formData_box) = $event)),
|
|
23524
|
+
modelValue: vue.unref(formData_box),
|
|
23525
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = $event => (vue.isRef(formData_box) ? (formData_box).value = $event : formData_box = $event)),
|
|
23526
23526
|
myProps: formProps_box,
|
|
23527
23527
|
scopeThis: scopeThis_box,
|
|
23528
23528
|
item: item2
|
|
@@ -23534,8 +23534,8 @@ return (_ctx, _cache) => {
|
|
|
23534
23534
|
colspan: style.no_field_label(item2)
|
|
23535
23535
|
}, [
|
|
23536
23536
|
vue.createVNode(script$g, {
|
|
23537
|
-
modelValue: formData_box,
|
|
23538
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => ((formData_box) = $event)),
|
|
23537
|
+
modelValue: vue.unref(formData_box),
|
|
23538
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => (vue.isRef(formData_box) ? (formData_box).value = $event : formData_box = $event)),
|
|
23539
23539
|
myProps: formProps_box,
|
|
23540
23540
|
scopeThis: scopeThis_box,
|
|
23541
23541
|
item: item2
|
|
@@ -23557,8 +23557,8 @@ return (_ctx, _cache) => {
|
|
|
23557
23557
|
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["accordion", "modelValue", "onUpdate:modelValue", "style"]))
|
|
23558
23558
|
: vue.createCommentVNode("v-if", true),
|
|
23559
23559
|
vue.createVNode(script$g, {
|
|
23560
|
-
modelValue: formData_box,
|
|
23561
|
-
"onUpdate:modelValue": _cache[3] || (_cache[3] = $event => ((formData_box) = $event)),
|
|
23560
|
+
modelValue: vue.unref(formData_box),
|
|
23561
|
+
"onUpdate:modelValue": _cache[3] || (_cache[3] = $event => (vue.isRef(formData_box) ? (formData_box).value = $event : formData_box = $event)),
|
|
23562
23562
|
myProps: formProps_box,
|
|
23563
23563
|
scopeThis: scopeThis_box,
|
|
23564
23564
|
item: item0
|
|
@@ -23627,7 +23627,7 @@ const props = __props;
|
|
|
23627
23627
|
// 遵循 Vue 3 v-model 规范,使用 update:modelValue 事件
|
|
23628
23628
|
const emit = __emit;
|
|
23629
23629
|
|
|
23630
|
-
|
|
23630
|
+
let formData_box = vue.reactive(JSON.parse(JSON.stringify(props.modelValue)));
|
|
23631
23631
|
const formProps_box = vue.reactive(Object.assign({}, ly0default$2.myProps, props.myProps));
|
|
23632
23632
|
const scopeThis_box = vue.reactive(Object.assign({}, props.scopeThis));
|
|
23633
23633
|
|
|
@@ -23658,8 +23658,8 @@ return (_ctx, _cache) => {
|
|
|
23658
23658
|
}, {
|
|
23659
23659
|
default: vue.withCtx(() => [
|
|
23660
23660
|
vue.createVNode(script$f, {
|
|
23661
|
-
modelValue: formData_box,
|
|
23662
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => ((formData_box) = $event)),
|
|
23661
|
+
modelValue: vue.unref(formData_box),
|
|
23662
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (vue.isRef(formData_box) ? (formData_box).value = $event : formData_box = $event)),
|
|
23663
23663
|
myProps: formProps_box,
|
|
23664
23664
|
scopeThis: scopeThis_box
|
|
23665
23665
|
}, null, 8 /* PROPS */, ["modelValue", "myProps", "scopeThis"])
|
|
@@ -23668,8 +23668,8 @@ return (_ctx, _cache) => {
|
|
|
23668
23668
|
}, 8 /* PROPS */, ["modelValue", "title", "width", "top"]))
|
|
23669
23669
|
: (vue.openBlock(), vue.createBlock(script$f, {
|
|
23670
23670
|
key: 1,
|
|
23671
|
-
modelValue: formData_box,
|
|
23672
|
-
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => ((formData_box) = $event)),
|
|
23671
|
+
modelValue: vue.unref(formData_box),
|
|
23672
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => (vue.isRef(formData_box) ? (formData_box).value = $event : formData_box = $event)),
|
|
23673
23673
|
myProps: formProps_box,
|
|
23674
23674
|
scopeThis: scopeThis_box
|
|
23675
23675
|
}, null, 8 /* PROPS */, ["modelValue", "myProps", "scopeThis"]))
|