@fecp/designer 5.4.112 → 5.4.115

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.
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const XEUtils = require("xe-utils");
4
- const index_esm = require("../../../../@vxe-ui/core/es/index.esm.js");
5
- const index_esm$1 = require("../../../../dom-zindex/es/index.esm.js");
6
- const { getConfig } = index_esm.VxeUI;
4
+ const index_esm$1 = require("../../../../@vxe-ui/core/es/index.esm.js");
5
+ const index_esm = require("../../../../dom-zindex/es/index.esm.js");
6
+ const { getConfig } = index_esm$1.VxeUI;
7
7
  function isEnableConf(conf) {
8
8
  return conf && conf.enabled !== false;
9
9
  }
@@ -18,10 +18,10 @@ function parseFile(file) {
18
18
  return { filename, type };
19
19
  }
20
20
  function nextZIndex() {
21
- return index_esm$1.default.getNext();
21
+ return index_esm.default.getNext();
22
22
  }
23
23
  function getLastZIndex() {
24
- return index_esm$1.default.getCurrent();
24
+ return index_esm.default.getCurrent();
25
25
  }
26
26
  function hasChildrenList(item) {
27
27
  return item && item.children && item.children.length > 0;
@@ -1,62 +1,62 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("./table/index.js");
4
- const index$1 = require("./forms/text/index.js");
5
- const index$2 = require("./forms/textarea/index.js");
6
- const index$3 = require("./forms/number/index.js");
7
- const index$4 = require("./forms/date/index.js");
8
- const index$5 = require("./forms/select/index.js");
9
- const index$6 = require("./forms/multipleSelection/index.js");
10
- const index$7 = require("./forms/radio/index.js");
11
- const index$8 = require("./forms/checkbox/index.js");
12
- const index$9 = require("./forms/switch/index.js");
13
- const index$a = require("./forms/upload/index.js");
14
- const index$b = require("./forms/subTitle/index.js");
15
- const index$c = require("./forms/h2/index.js");
16
- const index$d = require("./forms/subForm/index.js");
17
- const index$e = require("./forms/subTable/index.js");
18
- const index$f = require("./forms/cascader/index.js");
19
- const index$g = require("./forms/area/index.js");
20
- const index$h = require("./forms/industry/index.js");
21
- const index$i = require("./forms/userSelect/index.js");
22
- const index$j = require("./forms/roleSelect/index.js");
23
- const index$k = require("./forms/form/index.js");
24
- const index$l = require("./forms/formItem/index.js");
25
- const index$m = require("./bus/approvalHistory/index.js");
26
- const index$n = require("./bus/document/index.js");
27
- const index$o = require("./details/header/index.js");
28
- const index$p = require("./details/footer/index.js");
29
- const index$q = require("./details/main/index.js");
30
- const index$r = require("./dialog/customDialog/index.js");
31
- const index$s = require("./layout/index.js");
32
- const index$t = require("./layout/layoutCard/index.js");
33
- exports.Table = index.Table;
34
- exports.Text = index$1.Text;
35
- exports.Textarea = index$2.Textarea;
36
- exports.Number = index$3.Number;
37
- exports.Date = index$4.Date;
38
- exports.Select = index$5.Select;
39
- exports.MultipleSelection = index$6.MultipleSelection;
40
- exports.Radio = index$7.Radio;
41
- exports.Checkbox = index$8.Checkbox;
42
- exports.Switch = index$9.Switch;
43
- exports.Upload = index$a.Upload;
44
- exports.SubTitle = index$b.SubTitle;
45
- exports.H2 = index$c.H2;
46
- exports.SubForm = index$d.SubForm;
47
- exports.SubTable = index$e.SubTable;
48
- exports.Cascader = index$f.Cascader;
49
- exports.Area = index$g.Area;
50
- exports.Industry = index$h.Industry;
51
- exports.UserSelect = index$i.UserSelect;
52
- exports.RoleSelect = index$j.RoleSelect;
53
- exports.Form = index$k.Form;
54
- exports.FormItem = index$l.FormItem;
55
- exports.ApprovalHistory = index$m.ApprovalHistory;
56
- exports.Document = index$n.Document;
57
- exports.header = index$o.header;
58
- exports.footer = index$p.footer;
59
- exports.main = index$q.main;
60
- exports.customDialog = index$r.customDialog;
61
- exports.Layout = index$s.Layout;
62
- exports.LayoutCard = index$t.LayoutCard;
3
+ const index = require("./layout/index.js");
4
+ const index$2 = require("./table/index.js");
5
+ const index$3 = require("./forms/text/index.js");
6
+ const index$4 = require("./forms/textarea/index.js");
7
+ const index$5 = require("./forms/number/index.js");
8
+ const index$6 = require("./forms/date/index.js");
9
+ const index$7 = require("./forms/select/index.js");
10
+ const index$8 = require("./forms/multipleSelection/index.js");
11
+ const index$9 = require("./forms/radio/index.js");
12
+ const index$a = require("./forms/checkbox/index.js");
13
+ const index$b = require("./forms/switch/index.js");
14
+ const index$c = require("./forms/upload/index.js");
15
+ const index$d = require("./forms/subTitle/index.js");
16
+ const index$e = require("./forms/h2/index.js");
17
+ const index$f = require("./forms/subForm/index.js");
18
+ const index$g = require("./forms/subTable/index.js");
19
+ const index$h = require("./forms/cascader/index.js");
20
+ const index$i = require("./forms/area/index.js");
21
+ const index$j = require("./forms/industry/index.js");
22
+ const index$k = require("./forms/userSelect/index.js");
23
+ const index$l = require("./forms/roleSelect/index.js");
24
+ const index$m = require("./forms/form/index.js");
25
+ const index$n = require("./forms/formItem/index.js");
26
+ const index$o = require("./bus/approvalHistory/index.js");
27
+ const index$p = require("./bus/document/index.js");
28
+ const index$q = require("./details/header/index.js");
29
+ const index$r = require("./details/footer/index.js");
30
+ const index$s = require("./details/main/index.js");
31
+ const index$t = require("./dialog/customDialog/index.js");
32
+ const index$1 = require("./layout/layoutCard/index.js");
33
+ exports.Layout = index.Layout;
34
+ exports.Table = index$2.Table;
35
+ exports.Text = index$3.Text;
36
+ exports.Textarea = index$4.Textarea;
37
+ exports.Number = index$5.Number;
38
+ exports.Date = index$6.Date;
39
+ exports.Select = index$7.Select;
40
+ exports.MultipleSelection = index$8.MultipleSelection;
41
+ exports.Radio = index$9.Radio;
42
+ exports.Checkbox = index$a.Checkbox;
43
+ exports.Switch = index$b.Switch;
44
+ exports.Upload = index$c.Upload;
45
+ exports.SubTitle = index$d.SubTitle;
46
+ exports.H2 = index$e.H2;
47
+ exports.SubForm = index$f.SubForm;
48
+ exports.SubTable = index$g.SubTable;
49
+ exports.Cascader = index$h.Cascader;
50
+ exports.Area = index$i.Area;
51
+ exports.Industry = index$j.Industry;
52
+ exports.UserSelect = index$k.UserSelect;
53
+ exports.RoleSelect = index$l.RoleSelect;
54
+ exports.Form = index$m.Form;
55
+ exports.FormItem = index$n.FormItem;
56
+ exports.ApprovalHistory = index$o.ApprovalHistory;
57
+ exports.Document = index$p.Document;
58
+ exports.header = index$q.header;
59
+ exports.footer = index$r.footer;
60
+ exports.main = index$s.main;
61
+ exports.customDialog = index$t.customDialog;
62
+ exports.LayoutCard = index$1.LayoutCard;
@@ -48,6 +48,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
48
48
  // },
49
49
  },
50
50
  setup(__props, { expose: __expose }) {
51
+ const Form = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("../form/index.js")));
51
52
  const props = __props;
52
53
  const formData = vue.inject("formData");
53
54
  vue.inject("rowHeight");
@@ -134,7 +135,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
134
135
  subFormRef: formRef
135
136
  });
136
137
  return (_ctx, _cache) => {
137
- const _component_fec_form = vue.resolveComponent("fec-form");
138
138
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
139
139
  __props.config.titleMode != "none" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
140
140
  __props.config.titleMode == "label" ? (vue.openBlock(), vue.createBlock(vue.unref(index.H2), {
@@ -145,7 +145,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
145
145
  config: __props.config
146
146
  }, null, 8, ["config"])) : vue.createCommentVNode("", true)
147
147
  ])) : vue.createCommentVNode("", true),
148
- vue.createVNode(_component_fec_form, {
148
+ vue.createVNode(vue.unref(Form), {
149
149
  ref_key: "formRef",
150
150
  ref: formRef,
151
151
  templateKey: vue.unref(templateKey),
@@ -33,6 +33,7 @@ const _sfc_main = {
33
33
  emits: ["loaded"],
34
34
  setup(__props, { emit: __emit }) {
35
35
  const props = __props;
36
+ const Form = vue.defineAsyncComponent(() => Promise.resolve().then(() => require("../forms/form/index.js")));
36
37
  const layoutRowRef = vue.ref();
37
38
  const formData = vue.ref(props.initFormData);
38
39
  const emit = __emit;
@@ -47,7 +48,6 @@ const _sfc_main = {
47
48
  emit("loaded", common.cloneDeep(formData2));
48
49
  }
49
50
  return (_ctx, _cache) => {
50
- const _component_fec_form = vue.resolveComponent("fec-form");
51
51
  const _component_el_scrollbar = index$2.ElScrollbar;
52
52
  const _component_el_col = index$1.ElCol;
53
53
  const _component_el_row = index.ElRow;
@@ -64,7 +64,7 @@ const _sfc_main = {
64
64
  vue.createElementVNode("div", _hoisted_1, [
65
65
  vue.createVNode(_component_el_scrollbar, { ref: "scrollbarRef" }, {
66
66
  default: vue.withCtx(() => [
67
- vue.createVNode(_component_fec_form, {
67
+ vue.createVNode(vue.unref(Form), {
68
68
  ref: "formRef",
69
69
  templateKey: __props.templateKey,
70
70
  modelValue: vue.unref(formData),
@@ -95,5 +95,5 @@ const _sfc_main = {
95
95
  };
96
96
  }
97
97
  };
98
- const _Layout = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-eb0699f5"]]);
98
+ const _Layout = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-dba8800a"]]);
99
99
  exports.default = _Layout;
@@ -900,5 +900,5 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
900
900
  };
901
901
  }
902
902
  });
903
- const _Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-c35f81ee"]]);
904
- exports.default = _Table;
903
+ const Table = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-c35f81ee"]]);
904
+ exports.default = Table;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fecp/designer",
3
- "version": "5.4.112",
3
+ "version": "5.4.115",
4
4
  "main": "lib/designer/index.js",
5
5
  "module": "es/designer/index.mjs",
6
6
  "files": [