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/render.es.js CHANGED
@@ -26025,13 +26025,13 @@ function registerIcon(app) {
26025
26025
  if (typeof window !== "undefined") {
26026
26026
  let loadSvg = function() {
26027
26027
  var body = document.body;
26028
- var svgDom = document.getElementById("__svg__icons__dom__1775622342022__");
26028
+ var svgDom = document.getElementById("__svg__icons__dom__1775622785507__");
26029
26029
  if (!svgDom) {
26030
26030
  svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
26031
26031
  svgDom.style.position = "absolute";
26032
26032
  svgDom.style.width = "0";
26033
26033
  svgDom.style.height = "0";
26034
- svgDom.id = "__svg__icons__dom__1775622342022__";
26034
+ svgDom.id = "__svg__icons__dom__1775622785507__";
26035
26035
  svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
26036
26036
  svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
26037
26037
  }
@@ -32472,7 +32472,8 @@ const _sfc_main$i = {
32472
32472
  fieldModel: null,
32473
32473
  oldFieldValue: null,
32474
32474
  rules: [],
32475
- inputValue: ""
32475
+ inputValue: "",
32476
+ radioValue: null
32476
32477
  };
32477
32478
  },
32478
32479
  computed: {
@@ -32494,8 +32495,9 @@ const _sfc_main$i = {
32494
32495
  fieldModel: {
32495
32496
  handler(newVal) {
32496
32497
  if (typeof newVal === "string" && newVal.includes("_RADIO_OTHER_")) {
32497
- this.radioValue = "_RADIO_OTHER_";
32498
- this.inputValue = newVal.split("_RADIO_OTHER_")[1];
32498
+ const [radio, input] = newVal.split("&");
32499
+ this.radioValue = radio;
32500
+ this.inputValue = input;
32499
32501
  } else {
32500
32502
  this.radioValue = newVal;
32501
32503
  this.inputValue = "";
@@ -32571,8 +32573,8 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
32571
32573
  }, {
32572
32574
  default: withCtx(() => [
32573
32575
  createVNode(_component_el_radio_group, {
32574
- modelValue: _ctx.radioValue,
32575
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.radioValue = $event),
32576
+ modelValue: $data.radioValue,
32577
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => $data.radioValue = $event),
32576
32578
  class: normalizeClass({ "radio-group-block": $props.field.options.displayStyle === "block" }),
32577
32579
  disabled: $props.field.options.disabled,
32578
32580
  size: $options.widgetSize,
@@ -32596,7 +32598,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
32596
32598
  ]),
32597
32599
  _: 1
32598
32600
  }, 8, ["modelValue", "class", "disabled", "size", "onChange"]),
32599
- _ctx.radioValue === "_RADIO_OTHER_" ? (openBlock(), createBlock(_component_el_input, {
32601
+ $data.radioValue === "_RADIO_OTHER_" ? (openBlock(), createBlock(_component_el_input, {
32600
32602
  key: 0,
32601
32603
  class: "w-[200px] ml-10px",
32602
32604
  modelValue: $data.inputValue,