form-custom-test 3.0.85 → 3.0.87
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/designer.es.js +10 -8
- package/dist/designer.umd.js +2 -2
- package/dist/render.es.js +10 -8
- package/dist/render.umd.js +2 -2
- package/package.json +1 -1
package/dist/designer.es.js
CHANGED
|
@@ -68175,13 +68175,13 @@ function registerIcon(app) {
|
|
|
68175
68175
|
if (typeof window !== "undefined") {
|
|
68176
68176
|
let loadSvg = function() {
|
|
68177
68177
|
var body = document.body;
|
|
68178
|
-
var svgDom = document.getElementById("
|
|
68178
|
+
var svgDom = document.getElementById("__svg__icons__dom__1775622777429__");
|
|
68179
68179
|
if (!svgDom) {
|
|
68180
68180
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
68181
68181
|
svgDom.style.position = "absolute";
|
|
68182
68182
|
svgDom.style.width = "0";
|
|
68183
68183
|
svgDom.style.height = "0";
|
|
68184
|
-
svgDom.id = "
|
|
68184
|
+
svgDom.id = "__svg__icons__dom__1775622777429__";
|
|
68185
68185
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
68186
68186
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
68187
68187
|
}
|
|
@@ -74536,7 +74536,8 @@ const _sfc_main$c = {
|
|
|
74536
74536
|
fieldModel: null,
|
|
74537
74537
|
oldFieldValue: null,
|
|
74538
74538
|
rules: [],
|
|
74539
|
-
inputValue: ""
|
|
74539
|
+
inputValue: "",
|
|
74540
|
+
radioValue: null
|
|
74540
74541
|
};
|
|
74541
74542
|
},
|
|
74542
74543
|
computed: {
|
|
@@ -74558,8 +74559,9 @@ const _sfc_main$c = {
|
|
|
74558
74559
|
fieldModel: {
|
|
74559
74560
|
handler(newVal) {
|
|
74560
74561
|
if (typeof newVal === "string" && newVal.includes("_RADIO_OTHER_")) {
|
|
74561
|
-
|
|
74562
|
-
this.
|
|
74562
|
+
const [radio, input] = newVal.split("&");
|
|
74563
|
+
this.radioValue = radio;
|
|
74564
|
+
this.inputValue = input;
|
|
74563
74565
|
} else {
|
|
74564
74566
|
this.radioValue = newVal;
|
|
74565
74567
|
this.inputValue = "";
|
|
@@ -74635,8 +74637,8 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
74635
74637
|
}, {
|
|
74636
74638
|
default: withCtx(() => [
|
|
74637
74639
|
createVNode(_component_el_radio_group, {
|
|
74638
|
-
modelValue:
|
|
74639
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) =>
|
|
74640
|
+
modelValue: $data.radioValue,
|
|
74641
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.radioValue = $event),
|
|
74640
74642
|
class: normalizeClass({ "radio-group-block": $props.field.options.displayStyle === "block" }),
|
|
74641
74643
|
disabled: $props.field.options.disabled,
|
|
74642
74644
|
size: $options.widgetSize,
|
|
@@ -74660,7 +74662,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
74660
74662
|
]),
|
|
74661
74663
|
_: 1
|
|
74662
74664
|
}, 8, ["modelValue", "class", "disabled", "size", "onChange"]),
|
|
74663
|
-
|
|
74665
|
+
$data.radioValue === "_RADIO_OTHER_" ? (openBlock(), createBlock(_component_el_input, {
|
|
74664
74666
|
key: 0,
|
|
74665
74667
|
class: "w-[200px] ml-10px",
|
|
74666
74668
|
modelValue: $data.inputValue,
|