@fecp/designer 5.4.112 → 5.4.114

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,4 +1,4 @@
1
- const version = "5.4.112";
1
+ const version = "5.4.114";
2
2
  const packageJson = {
3
3
  version
4
4
  };
package/es/designer.css CHANGED
@@ -6360,18 +6360,18 @@ body,
6360
6360
  max-height: 90% !important;
6361
6361
  padding: 0 !important;
6362
6362
  }
6363
- .fec-layout-row[data-v-eb0699f5] {
6363
+ .fec-layout-row[data-v-dba8800a] {
6364
6364
  width: 100%;
6365
6365
  height: 100%;
6366
6366
  overflow: hidden;
6367
6367
  }
6368
- .fec-layout-row[data-v-eb0699f5] .el-col {
6368
+ .fec-layout-row[data-v-dba8800a] .el-col {
6369
6369
  height: 100%;
6370
6370
  }
6371
- .fec-layout-row[data-v-eb0699f5] .el-col .el-scrollbar__bar {
6371
+ .fec-layout-row[data-v-dba8800a] .el-col .el-scrollbar__bar {
6372
6372
  display: none;
6373
6373
  }
6374
- .grid-content[data-v-eb0699f5] {
6374
+ .grid-content[data-v-dba8800a] {
6375
6375
  border-radius: 9px 9px 4px 4px;
6376
6376
  background-color: #fff;
6377
6377
  position: relative;
@@ -6382,7 +6382,7 @@ body,
6382
6382
  padding: 16px 16px 16px 16px;
6383
6383
  } */
6384
6384
  }
6385
- .grid-content-statistics[data-v-eb0699f5] {
6385
+ .grid-content-statistics[data-v-dba8800a] {
6386
6386
  height: 100%;
6387
6387
  display: flex;
6388
6388
  flex-direction: column;
@@ -6393,7 +6393,7 @@ body,
6393
6393
  height: 100%;
6394
6394
  } */
6395
6395
  }
6396
- .grid-content-statistics[data-v-eb0699f5] .fec-layout-card:last-child {
6396
+ .grid-content-statistics[data-v-dba8800a] .fec-layout-card:last-child {
6397
6397
  margin-bottom: 0 !important;
6398
6398
  flex: 1;
6399
6399
  }
@@ -6,7 +6,7 @@ import { useZIndex, defaultInitialZIndex, zIndexContextKey } from "../../../../h
6
6
  import { SIZE_INJECTION_KEY } from "../../../../hooks/use-size/index.mjs";
7
7
  import { emptyValuesContextKey } from "../../../../hooks/use-empty-values/index.mjs";
8
8
  import { configProviderContextKey } from "../constants.mjs";
9
- import { getCurrentInstance, inject, ref, computed, unref, provide } from "vue";
9
+ import { computed, unref, getCurrentInstance, inject, ref, provide } from "vue";
10
10
  const globalConfig = ref();
11
11
  function useGlobalConfig(key, defaultValue = void 0) {
12
12
  const config = getCurrentInstance() ? inject(configProviderContextKey, globalConfig) : globalConfig;
@@ -1,4 +1,4 @@
1
- import { toValue, tryOnScopeDispose, noop, isIOS, isObject, isClient, tryOnMounted, notNullish, isDef } from "../shared/index.mjs";
1
+ import { toValue, tryOnScopeDispose, noop, isObject, isClient, isIOS, notNullish, tryOnMounted, isDef } from "../shared/index.mjs";
2
2
  import { clamp, computedEager, createFilterWrapper, debounceFilter, debouncedRef, computedEager as computedEager2, getLifeCycleTarget, reactiveComputed, debouncedRef as debouncedRef2, throttleFilter, toReactive, debouncedRef as debouncedRef3, useDebounceFn, useThrottleFn, useTimeoutFn } from "../shared/index.mjs";
3
3
  import { computed, watch, ref, getCurrentInstance, onMounted, nextTick, watchEffect } from "vue";
4
4
  const defaultWindow = isClient ? window : void 0;
@@ -1,4 +1,4 @@
1
- import { inject, computed, ref, resolveComponent, createElementBlock, openBlock, Fragment, createCommentVNode, createVNode, createBlock, unref, isRef } from "vue";
1
+ import { defineAsyncComponent, inject, computed, ref, createElementBlock, openBlock, Fragment, createCommentVNode, createVNode, createBlock, unref, isRef } from "vue";
2
2
  import { SubTitle } from "../subTitle/index.mjs";
3
3
  import { H2 } from "../h2/index.mjs";
4
4
  import { cloneDeep } from "../../../utils/common.mjs";
@@ -46,6 +46,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
46
46
  // },
47
47
  },
48
48
  setup(__props, { expose: __expose }) {
49
+ const Form = defineAsyncComponent(() => import("../form/index.mjs"));
49
50
  const props = __props;
50
51
  const formData = inject("formData");
51
52
  inject("rowHeight");
@@ -132,7 +133,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
132
133
  subFormRef: formRef
133
134
  });
134
135
  return (_ctx, _cache) => {
135
- const _component_fec_form = resolveComponent("fec-form");
136
136
  return openBlock(), createElementBlock(Fragment, null, [
137
137
  __props.config.titleMode != "none" ? (openBlock(), createElementBlock("div", _hoisted_1, [
138
138
  __props.config.titleMode == "label" ? (openBlock(), createBlock(unref(H2), {
@@ -143,7 +143,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
143
143
  config: __props.config
144
144
  }, null, 8, ["config"])) : createCommentVNode("", true)
145
145
  ])) : createCommentVNode("", true),
146
- createVNode(_component_fec_form, {
146
+ createVNode(unref(Form), {
147
147
  ref_key: "formRef",
148
148
  ref: formRef,
149
149
  templateKey: unref(templateKey),
@@ -3,7 +3,7 @@ import "../../../../../node_modules/element-plus/es/index.mjs";
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  /* empty css */
6
- import { ref, resolveComponent, resolveDirective, withDirectives, createBlock, openBlock, withCtx, createVNode, createElementVNode, unref, isRef, renderSlot, createCommentVNode } from "vue";
6
+ import { defineAsyncComponent, ref, resolveDirective, withDirectives, createBlock, openBlock, withCtx, createVNode, createElementVNode, unref, isRef, renderSlot, createCommentVNode } from "vue";
7
7
  import { cloneDeep } from "../../utils/common.mjs";
8
8
  /* empty css */
9
9
  import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.mjs";
@@ -31,6 +31,7 @@ const _sfc_main = {
31
31
  emits: ["loaded"],
32
32
  setup(__props, { emit: __emit }) {
33
33
  const props = __props;
34
+ const Form = defineAsyncComponent(() => import("../forms/form/index.mjs"));
34
35
  const layoutRowRef = ref();
35
36
  const formData = ref(props.initFormData);
36
37
  const emit = __emit;
@@ -45,7 +46,6 @@ const _sfc_main = {
45
46
  emit("loaded", cloneDeep(formData2));
46
47
  }
47
48
  return (_ctx, _cache) => {
48
- const _component_fec_form = resolveComponent("fec-form");
49
49
  const _component_el_scrollbar = ElScrollbar;
50
50
  const _component_el_col = ElCol;
51
51
  const _component_el_row = ElRow;
@@ -62,7 +62,7 @@ const _sfc_main = {
62
62
  createElementVNode("div", _hoisted_1, [
63
63
  createVNode(_component_el_scrollbar, { ref: "scrollbarRef" }, {
64
64
  default: withCtx(() => [
65
- createVNode(_component_fec_form, {
65
+ createVNode(unref(Form), {
66
66
  ref: "formRef",
67
67
  templateKey: __props.templateKey,
68
68
  modelValue: unref(formData),
@@ -93,7 +93,7 @@ const _sfc_main = {
93
93
  };
94
94
  }
95
95
  };
96
- const _Layout = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-eb0699f5"]]);
96
+ const _Layout = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-dba8800a"]]);
97
97
  export {
98
98
  _Layout as default
99
99
  };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const version = "5.4.112";
3
+ const version = "5.4.114";
4
4
  const packageJson = {
5
5
  version
6
6
  };
package/lib/designer.css CHANGED
@@ -6360,18 +6360,18 @@ body,
6360
6360
  max-height: 90% !important;
6361
6361
  padding: 0 !important;
6362
6362
  }
6363
- .fec-layout-row[data-v-eb0699f5] {
6363
+ .fec-layout-row[data-v-dba8800a] {
6364
6364
  width: 100%;
6365
6365
  height: 100%;
6366
6366
  overflow: hidden;
6367
6367
  }
6368
- .fec-layout-row[data-v-eb0699f5] .el-col {
6368
+ .fec-layout-row[data-v-dba8800a] .el-col {
6369
6369
  height: 100%;
6370
6370
  }
6371
- .fec-layout-row[data-v-eb0699f5] .el-col .el-scrollbar__bar {
6371
+ .fec-layout-row[data-v-dba8800a] .el-col .el-scrollbar__bar {
6372
6372
  display: none;
6373
6373
  }
6374
- .grid-content[data-v-eb0699f5] {
6374
+ .grid-content[data-v-dba8800a] {
6375
6375
  border-radius: 9px 9px 4px 4px;
6376
6376
  background-color: #fff;
6377
6377
  position: relative;
@@ -6382,7 +6382,7 @@ body,
6382
6382
  padding: 16px 16px 16px 16px;
6383
6383
  } */
6384
6384
  }
6385
- .grid-content-statistics[data-v-eb0699f5] {
6385
+ .grid-content-statistics[data-v-dba8800a] {
6386
6386
  height: 100%;
6387
6387
  display: flex;
6388
6388
  flex-direction: column;
@@ -6393,7 +6393,7 @@ body,
6393
6393
  height: 100%;
6394
6394
  } */
6395
6395
  }
6396
- .grid-content-statistics[data-v-eb0699f5] .fec-layout-card:last-child {
6396
+ .grid-content-statistics[data-v-dba8800a] .fec-layout-card:last-child {
6397
6397
  margin-bottom: 0 !important;
6398
6398
  flex: 1;
6399
6399
  }
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fecp/designer",
3
- "version": "5.4.112",
3
+ "version": "5.4.114",
4
4
  "main": "lib/designer/index.js",
5
5
  "module": "es/designer/index.mjs",
6
6
  "files": [