form-custom-test 3.0.35 → 3.0.36

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.
@@ -10572,7 +10572,8 @@ var fieldMixin = {
10572
10572
  this.field.options.optionItems = deepClone(options || []);
10573
10573
  }
10574
10574
  } else {
10575
- this.field.options.optionItems = deepClone(options || []);
10575
+ this.field.options.optionItems = options;
10576
+ console.log(this.field, "this.field.options.optionItems");
10576
10577
  }
10577
10578
  this.clearSelectedOptions();
10578
10579
  },
@@ -26986,7 +26987,10 @@ const _sfc_main$2J = {
26986
26987
  }
26987
26988
  },
26988
26989
  getFormJson() {
26989
- return deepClone(this.formJsonObj);
26990
+ return {
26991
+ widgetList: deepClone(this.designer.widgetList),
26992
+ formConfig: deepClone(this.designer.formConfig)
26993
+ };
26990
26994
  },
26991
26995
  reloadOptionData(widgetNames) {
26992
26996
  let eventParams = [];
@@ -27239,7 +27243,7 @@ function _sfc_render$2J(_ctx, _cache, $props, $setup, $data, $options) {
27239
27243
  _: 3
27240
27244
  }, 8, ["label-position", "size", "class", "label-width", "model"]);
27241
27245
  }
27242
- var VFormRender = /* @__PURE__ */ _export_sfc$1(_sfc_main$2J, [["render", _sfc_render$2J], ["__scopeId", "data-v-64665cea"]]);
27246
+ var VFormRender = /* @__PURE__ */ _export_sfc$1(_sfc_main$2J, [["render", _sfc_render$2J], ["__scopeId", "data-v-79423a3c"]]);
27243
27247
  var ace$2 = { exports: {} };
27244
27248
  (function(module, exports) {
27245
27249
  (function() {
@@ -63968,7 +63972,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
63968
63972
  _: 3
63969
63973
  });
63970
63974
  }
63971
- var VFormDesigner = /* @__PURE__ */ _export_sfc$1(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-cd16a5dc"]]);
63975
+ var VFormDesigner = /* @__PURE__ */ _export_sfc$1(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-08bd1fe8"]]);
63972
63976
  var vuedraggable_umd = { exports: {} };
63973
63977
  var require$$0 = /* @__PURE__ */ getDefaultExportFromNamespaceIfPresent(vue);
63974
63978
  (function(module, exports) {
@@ -67554,13 +67558,13 @@ function registerIcon(app) {
67554
67558
  if (typeof window !== "undefined") {
67555
67559
  let loadSvg = function() {
67556
67560
  var body = document.body;
67557
- var svgDom = document.getElementById("__svg__icons__dom__1771985012101__");
67561
+ var svgDom = document.getElementById("__svg__icons__dom__1771987786346__");
67558
67562
  if (!svgDom) {
67559
67563
  svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
67560
67564
  svgDom.style.position = "absolute";
67561
67565
  svgDom.style.width = "0";
67562
67566
  svgDom.style.height = "0";
67563
- svgDom.id = "__svg__icons__dom__1771985012101__";
67567
+ svgDom.id = "__svg__icons__dom__1771987786346__";
67564
67568
  svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
67565
67569
  svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
67566
67570
  }