jfv3-zzzrkxg 1.0.2 → 1.0.4

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.
@@ -18412,7 +18412,7 @@ const _sfc_main$H = {
18412
18412
  paramKey: "",
18413
18413
  paramValue: "",
18414
18414
  position: [],
18415
- openMode: ""
18415
+ openMode: ""
18416
18416
  }
18417
18417
  };
18418
18418
  },
@@ -18435,7 +18435,7 @@ const _sfc_main$H = {
18435
18435
  paramKey: "",
18436
18436
  paramValue: "",
18437
18437
  position: [],
18438
- openMode: ""
18438
+ openMode: ""
18439
18439
  };
18440
18440
  },
18441
18441
  handleOptionsRemove(index2) {
@@ -18475,6 +18475,9 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
18475
18475
  const _component_draggable = resolveComponent("draggable");
18476
18476
  const _component_el_form = resolveComponent("el-form");
18477
18477
  const _component_el_input = resolveComponent("el-input");
18478
+ const _component_el_select = resolveComponent("el-select");
18479
+ const _component_el_option = resolveComponent("el-option");
18480
+ const _component_el_divider = resolveComponent("el-divider");
18478
18481
  const _component_el_col = resolveComponent("el-col");
18479
18482
  const _component_el_checkbox_group = resolveComponent("el-checkbox-group");
18480
18483
  const _component_el_row = resolveComponent("el-row");
@@ -18567,7 +18570,24 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
18567
18570
  ]),
18568
18571
  _: 1
18569
18572
  }, 8, ["onClick"])
18570
- ])
18573
+ ]),
18574
+ createVNode(_component_el_divider),
18575
+ createVNode(_component_el_form_item, { label: "\u8868\u5355\u6253\u5F00\u65B9\u5F0F" }, {
18576
+ default: withCtx(() => [
18577
+ createVNode(_component_el_select, {
18578
+ modelValue: $props.widgetForm.config.openFormMode,
18579
+ "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => $props.widgetForm.config.openFormMode = $event),
18580
+ placeholder: "\u8BF7\u9009\u62E9"
18581
+ }, {
18582
+ default: withCtx(() => [
18583
+ createVNode(_component_el_option, { label: "\u5F39\u7A97", value: "dialog" }, null, 8, ["label", "value"]),
18584
+ createVNode(_component_el_option, { label: "Tab\u9875", value: "tab" }, null, 8, ["label", "value"])
18585
+ ]),
18586
+ _: 1
18587
+ }, 8, ["modelValue"])
18588
+ ]),
18589
+ _: 1
18590
+ })
18571
18591
  ]),
18572
18592
  _: 1
18573
18593
  })
@@ -18734,11 +18754,18 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
18734
18754
  rules: []
18735
18755
  }, {
18736
18756
  default: withCtx(() => [
18737
- createVNode(_component_el_input, {
18757
+ createVNode(_component_el_select, {
18738
18758
  modelValue: $data.inputForm.openMode,
18739
18759
  "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => $data.inputForm.openMode = $event),
18740
- placeholder: "\u8BF7\u586B\u5199\u6253\u5F00\u65B9\u5F0F\uFF0C\u4F8B\u5982\uFF1A\u5F53\u524D\u9875\u3001\u65B0\u7A97\u53E3\u3001\u5F39\u7A97"
18741
- }, null, 8, ["modelValue"])
18760
+ placeholder: "\u8BF7\u9009\u62E9\u6253\u5F00\u65B9\u5F0F"
18761
+ }, {
18762
+ default: withCtx(() => [
18763
+ createVNode(_component_el_option, { label: "\u5F39\u7A97", value: "dialog" }),
18764
+ createVNode(_component_el_option, { label: "Tab\u9875", value: "newTab" }),
18765
+ createVNode(_component_el_option, { label: "\u65B0\u7A97\u53E3", value: "window" })
18766
+ ]),
18767
+ _: 1
18768
+ }, 8, ["modelValue"])
18742
18769
  ]),
18743
18770
  _: 1
18744
18771
  })
@@ -19046,6 +19073,7 @@ const _sfc_main$F = {
19046
19073
  {
19047
19074
  modelValue: data2,
19048
19075
  mode: typeof data2 == "object" ? "javascript" : "xml",
19076
+ width: "390px",
19049
19077
  height: "300px",
19050
19078
  key: new Date().getTime()
19051
19079
  }
@@ -19075,6 +19103,7 @@ const _sfc_main$F = {
19075
19103
  {
19076
19104
  modelValue: res,
19077
19105
  mode: typeof res == "object" ? "javascript" : "xml",
19106
+ width: "390px",
19078
19107
  height: "300px",
19079
19108
  key: new Date().getTime()
19080
19109
  }
@@ -35043,7 +35072,7 @@ function generateCode(data2, type = "html", ui = "element") {
35043
35072
  </${templateName}>
35044
35073
  </div>
35045
35074
  <script src="https://unpkg.com/vue@next/dist/vue.global.prod.js"><\/script>${ui == "antd" ? `
35046
- <script src="https://unpkg.com/dayjs/dayjs.min.js"><\/script>` : ""}
35075
+ <script src="https://unpkg.com/dayjs/dayjs.min.js"><\/script>` : ""}
35047
35076
  <script src="${cdnjs}"><\/script>
35048
35077
  <script src="https://form.making.link/public/lib/form-making-v3/dist/form-making-v3.umd.js"><\/script>
35049
35078
  <script>
@@ -39664,7 +39693,7 @@ const _sfc_main$8 = {
39664
39693
  props: ["element", "model", "rules", "remote", "blanks", "display", "edit", "remoteOption", "platform", "preview", "containerKey", "dataSourceValue", "eventFunction", "printRead", "isSubform", "rowIndex", "subName", "subHideFields", "subDisabledFields", "isDialog", "dialogName", "group", "fieldNode", "isGroup"],
39665
39694
  data() {
39666
39695
  const defaultName = (this.element.options && this.element.options.defaultActive) ? this.element.options.defaultActive : (this.element.tabs && this.element.tabs.length ? this.element.tabs[0].name : "");
39667
- return {
39696
+ return {
39668
39697
  dataModels: this.model,
39669
39698
  tabActive: defaultName
39670
39699
  };
@@ -46378,7 +46407,9 @@ const _sfc_main = {
46378
46407
  actions: [],
46379
46408
  width: "100%",
46380
46409
  hideLabel: false,
46381
- hideErrorMessage: false
46410
+ hideErrorMessage: false,
46411
+ openDialogForm: false,
46412
+ openFormMode: "dialog"
46382
46413
  }
46383
46414
  },
46384
46415
  configTab: "form",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jfv3-zzzrkxg",
3
3
  "private": false,
4
- "version": "1.0.2",
4
+ "version": "1.0.4",
5
5
  "files": [
6
6
  "dist"
7
7
  ],