@fecp/designer 5.4.119 → 5.4.121

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.
Files changed (39) hide show
  1. package/es/designer/package.json.mjs +1 -1
  2. package/es/designer/src/packages/dialog/useDialogDialog.mjs +1 -1
  3. package/es/designer/src/packages/dialogGlobal/index.vue.mjs +1 -1
  4. package/es/designer/src/packages/dialogGlobal/useDialogGlobalDialog.mjs +1 -1
  5. package/es/designer/src/packages/form/property/widgets.vue.mjs +2 -2
  6. package/es/designer.css +512 -512
  7. package/es/node_modules/element-plus/es/components/config-provider/src/hooks/use-global-config.mjs +1 -1
  8. package/es/node_modules/element-plus/es/components/form/src/hooks/use-form-common-props.mjs +1 -1
  9. package/es/node_modules/element-plus/es/utils/types.mjs +1 -1
  10. package/es/node_modules/element-plus/es/utils/vue/install.mjs +1 -1
  11. package/es/node_modules/element-plus/node_modules/@vueuse/core/index.mjs +2 -2
  12. package/es/node_modules/element-plus/node_modules/@vueuse/shared/index.mjs +1 -1
  13. package/es/node_modules/vxe-table/es/table/src/table.mjs +3 -3
  14. package/es/packages/vue/src/components/all.mjs +1 -1
  15. package/es/packages/vue/src/components/forms/form/Form.vue.mjs +2 -2
  16. package/es/packages/vue/src/components/forms/form/index.mjs +2 -2
  17. package/es/packages/vue/src/components/forms/subForm/SubForm.vue.mjs +3 -3
  18. package/es/packages/vue/src/components/forms/subTable/SubTable.vue.mjs +3 -3
  19. package/es/packages/vue/src/components/layout/Layout.vue.mjs +4 -4
  20. package/es/packages/vue/src/components/layout/layoutCard/LayoutCard.vue.mjs +3 -3
  21. package/es/packages/vue/src/components/table/Table.vue.mjs +2 -2
  22. package/es/packages/vue/src/components/table/index.mjs +2 -2
  23. package/es/packages/vue/src/utils/common.mjs +1 -1
  24. package/lib/designer/package.json.js +1 -1
  25. package/lib/designer/src/packages/dialog/useDialogDialog.js +1 -1
  26. package/lib/designer/src/packages/dialogGlobal/index.vue.js +1 -1
  27. package/lib/designer/src/packages/dialogGlobal/useDialogGlobalDialog.js +1 -1
  28. package/lib/designer/src/packages/form/property/widgets.vue.js +2 -2
  29. package/lib/designer.css +512 -512
  30. package/lib/node_modules/vxe-table/es/ui/src/utils.js +5 -5
  31. package/lib/packages/vue/src/components/all.js +48 -48
  32. package/lib/packages/vue/src/components/forms/form/Form.vue.js +2 -2
  33. package/lib/packages/vue/src/components/forms/subForm/SubForm.vue.js +2 -2
  34. package/lib/packages/vue/src/components/forms/subTable/SubTable.vue.js +2 -2
  35. package/lib/packages/vue/src/components/layout/Layout.vue.js +3 -3
  36. package/lib/packages/vue/src/components/layout/layoutCard/LayoutCard.vue.js +5 -5
  37. package/lib/packages/vue/src/components/table/Table.vue.js +2 -2
  38. package/lib/packages/vue/src/utils/common.js +1 -1
  39. package/package.json +1 -1
@@ -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 { computed, unref, getCurrentInstance, inject, ref, provide } from "vue";
9
+ import { getCurrentInstance, inject, ref, computed, unref, 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,7 +1,7 @@
1
1
  import { useProp } from "../../../../hooks/use-prop/index.mjs";
2
2
  import { useGlobalSize } from "../../../../hooks/use-size/index.mjs";
3
3
  import { formContextKey, formItemContextKey } from "../constants.mjs";
4
- import { ref, inject, computed, unref } from "vue";
4
+ import { inject, computed, unref, ref } from "vue";
5
5
  const useFormSize = (fallback, ignore = {}) => {
6
6
  const emptyRef = ref(void 0);
7
7
  const size = ignore.prop ? emptyRef : useProp("size");
@@ -1,4 +1,4 @@
1
- import { isString, isArray, isObject } from "../../../@vue/shared/dist/shared.esm-bundler.mjs";
1
+ import { isArray, isObject, isString } from "../../../@vue/shared/dist/shared.esm-bundler.mjs";
2
2
  import { isDate, isFunction, isPlainObject, isPromise } from "../../../@vue/shared/dist/shared.esm-bundler.mjs";
3
3
  import isNil from "../../../lodash-es/isNil.mjs";
4
4
  const isUndefined = (val) => val === void 0;
@@ -1,4 +1,4 @@
1
- import { isArray, hasOwn, NOOP } from "../../../../@vue/shared/dist/shared.esm-bundler.mjs";
1
+ import { NOOP, isArray, hasOwn } from "../../../../@vue/shared/dist/shared.esm-bundler.mjs";
2
2
  import fromPairs from "../../../../lodash-es/fromPairs.mjs";
3
3
  import isPlainObject from "../../../../lodash-es/isPlainObject.mjs";
4
4
  const withPropsDefaultsSetter = (target) => {
@@ -1,6 +1,6 @@
1
- import { toValue, tryOnScopeDispose, noop, isObject, isClient, isIOS, notNullish, tryOnMounted, isDef } from "../shared/index.mjs";
1
+ import { noop, isIOS, toValue, isObject, tryOnScopeDispose, isClient, tryOnMounted, isDef, notNullish } 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
- import { computed, watch, ref, getCurrentInstance, onMounted, nextTick, watchEffect } from "vue";
3
+ import { watch, computed, ref, getCurrentInstance, onMounted, nextTick, watchEffect } from "vue";
4
4
  const defaultWindow = isClient ? window : void 0;
5
5
  const defaultDocument = isClient ? window.document : void 0;
6
6
  function unrefElement(elRef) {
@@ -1,4 +1,4 @@
1
- import { ref, watch, shallowRef, watchEffect, readonly, unref, getCurrentScope, onScopeDispose, onMounted, nextTick, getCurrentInstance, computed, isRef, reactive } from "vue";
1
+ import { unref, getCurrentScope, onScopeDispose, shallowRef, watchEffect, readonly, ref, watch, onMounted, nextTick, getCurrentInstance, computed, isRef, reactive } from "vue";
2
2
  function computedEager(fn, options) {
3
3
  var _a;
4
4
  const result = shallowRef();
@@ -1,10 +1,10 @@
1
1
  import { inject, reactive, ref, computed, watch, nextTick, onActivated, onDeactivated, onMounted, onBeforeUnmount, onUnmounted, provide, h, Teleport } from "vue";
2
2
  import { defineVxeComponent } from "../../ui/src/comp.mjs";
3
3
  import XEUtils from "xe-utils";
4
- import { initTpImg, setScrollLeft, setScrollTop, removeClass, addClass, isScale, getEventTargetNode, hasClass, hasControlKey, checkTargetElement, getTpImg, isPx, getPaddingTopBottomSize, toCssUnit } from "../../ui/src/dom.mjs";
5
- import { isEnableConf, hasChildrenList, getLastZIndex, nextZIndex, getFuncText, eqEmptyValue, formatText } from "../../ui/src/utils.mjs";
4
+ import { initTpImg, getEventTargetNode, hasClass, hasControlKey, isScale, toCssUnit, setScrollLeft, setScrollTop, removeClass, addClass, checkTargetElement, getTpImg, isPx, getPaddingTopBottomSize } from "../../ui/src/dom.mjs";
5
+ import { isEnableConf, hasChildrenList, getFuncText, eqEmptyValue, getLastZIndex, nextZIndex, formatText } from "../../ui/src/utils.mjs";
6
6
  import "../../ui/index.mjs";
7
- import { createInternalData, getCalcHeight, hasDeepKey, restoreScrollLocation, getColumnList, createHandleGetRowId, getCellRestHeight, getRefElem, handleFieldOrColumn, colToVisible, rowToVisible, getRowid, toFilters, getRowkey, getRootColumn, handleRowidOrRow, getCellValue, setCellValue, clearTableAllStatus, getColReMinWidth, getLastChildColumn, createHandleUpdateRowId, toTreePathSeq, getRowUniqueId } from "./util.mjs";
7
+ import { createInternalData, getCalcHeight, restoreScrollLocation, getColumnList, hasDeepKey, setCellValue, getRowkey, getRowUniqueId, getRefElem, getRowid, createHandleGetRowId, getCellRestHeight, handleFieldOrColumn, colToVisible, rowToVisible, toFilters, getRootColumn, handleRowidOrRow, getCellValue, clearTableAllStatus, getColReMinWidth, getLastChildColumn, createHandleUpdateRowId, toTreePathSeq } from "./util.mjs";
8
8
  import { getSlotVNs } from "../../ui/src/vn.mjs";
9
9
  import { moveColAnimateToLr, moveRowAnimateToTb, clearRowAnimate, clearColAnimate } from "../../ui/src/anime.mjs";
10
10
  import { warnLog, errLog } from "../../ui/src/log.mjs";
@@ -1,4 +1,3 @@
1
- import { Layout } from "./layout/index.mjs";
2
1
  import { Text } from "./forms/text/index.mjs";
3
2
  import { Textarea } from "./forms/textarea/index.mjs";
4
3
  import { Number } from "./forms/number/index.mjs";
@@ -21,6 +20,7 @@ import { RoleSelect } from "./forms/roleSelect/index.mjs";
21
20
  import { FormItem } from "./forms/formItem/index.mjs";
22
21
  import { Form } from "./forms/form/index.mjs";
23
22
  import { Table } from "./table/index.mjs";
23
+ import { Layout } from "./layout/index.mjs";
24
24
  import { ApprovalHistory } from "./bus/approvalHistory/index.mjs";
25
25
  import { Document } from "./bus/document/index.mjs";
26
26
  import { header } from "./details/header/index.mjs";
@@ -1096,7 +1096,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
1096
1096
  };
1097
1097
  }
1098
1098
  });
1099
- const _Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-cd5951a2"]]);
1099
+ const Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-cd5951a2"]]);
1100
1100
  export {
1101
- _Form as default
1101
+ Form as default
1102
1102
  };
@@ -1,6 +1,6 @@
1
- import _Form from "./Form.vue.mjs";
1
+ import Form$1 from "./Form.vue.mjs";
2
2
  import install from "../../../utils/install.mjs";
3
- const Form = install.withInstall("Form", _Form);
3
+ const Form = install.withInstall("Form", Form$1);
4
4
  export {
5
5
  Form,
6
6
  Form as default
@@ -1,5 +1,4 @@
1
- import { inject, computed, ref, createElementBlock, openBlock, Fragment, createCommentVNode, createVNode, createBlock, unref, isRef } from "vue";
2
- import { Form } from "../form/index.mjs";
1
+ import { inject, computed, ref, resolveComponent, createElementBlock, openBlock, Fragment, createCommentVNode, createVNode, createBlock, unref, isRef } from "vue";
3
2
  import { SubTitle } from "../subTitle/index.mjs";
4
3
  import { H2 } from "../h2/index.mjs";
5
4
  import { cloneDeep } from "../../../utils/common.mjs";
@@ -133,6 +132,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
133
132
  subFormRef: formRef
134
133
  });
135
134
  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(unref(Form), {
146
+ createVNode(_component_fec_form, {
147
147
  ref_key: "formRef",
148
148
  ref: formRef,
149
149
  templateKey: unref(templateKey),
@@ -1,8 +1,7 @@
1
1
  import "../../../../../../node_modules/element-plus/es/index.mjs";
2
2
  /* empty css */
3
3
  /* empty css */
4
- import { inject, computed, ref, createElementBlock, openBlock, Fragment, createCommentVNode, createVNode, createBlock, unref, createSlots, withCtx, renderList, createTextVNode, toDisplayString } from "vue";
5
- import { Table } from "../../table/index.mjs";
4
+ import { inject, computed, ref, resolveComponent, createElementBlock, openBlock, Fragment, createCommentVNode, createVNode, createBlock, unref, createSlots, withCtx, renderList, createTextVNode, toDisplayString } from "vue";
6
5
  import { SubTitle } from "../subTitle/index.mjs";
7
6
  import { H2 } from "../h2/index.mjs";
8
7
  import { parseRouteParams } from "../../../utils/parseRouteParams.mjs";
@@ -135,6 +134,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
135
134
  });
136
135
  return (_ctx, _cache) => {
137
136
  const _component_el_button = ElButton;
137
+ const _component_fec_table = resolveComponent("fec-table");
138
138
  return openBlock(), createElementBlock(Fragment, null, [
139
139
  __props.config.titleMode != "none" ? (openBlock(), createElementBlock("div", _hoisted_1, [
140
140
  __props.config.titleMode == "label" ? (openBlock(), createBlock(unref(H2), {
@@ -186,7 +186,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
186
186
  config: __props.config
187
187
  }, null, 8, ["config"])) : createCommentVNode("", true)
188
188
  ])) : createCommentVNode("", true),
189
- createVNode(unref(Table), {
189
+ createVNode(_component_fec_table, {
190
190
  ref_key: "tableRef",
191
191
  ref: tableRef,
192
192
  templateKey: __props.config.subTableKey,
@@ -3,8 +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, resolveDirective, withDirectives, createBlock, openBlock, withCtx, createVNode, createElementVNode, unref, isRef, renderSlot, createCommentVNode } from "vue";
7
- import { Form } from "../forms/form/index.mjs";
6
+ import { ref, resolveComponent, resolveDirective, withDirectives, createBlock, openBlock, withCtx, createVNode, createElementVNode, unref, isRef, renderSlot, createCommentVNode } from "vue";
8
7
  import { cloneDeep } from "../../utils/common.mjs";
9
8
  /* empty css */
10
9
  import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.mjs";
@@ -46,6 +45,7 @@ const _sfc_main = {
46
45
  emit("loaded", cloneDeep(formData2));
47
46
  }
48
47
  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(unref(Form), {
65
+ createVNode(_component_fec_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-02819e85"]]);
96
+ const _Layout = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a3206460"]]);
97
97
  export {
98
98
  _Layout as default
99
99
  };
@@ -6,8 +6,8 @@ import { ArrowRight as arrow_right_default } from "../../../../../../node_module
6
6
  import { customDialog } from "../../dialog/customDialog/index.mjs";
7
7
  import api from "../../../api/index.mjs";
8
8
  import { getCurrentVueInstance } from "../../../utils/getInstance.mjs";
9
- import { Form } from "../../forms/form/index.mjs";
10
- import { Table } from "../../table/index.mjs";
9
+ import Form from "../../forms/form/Form.vue.mjs";
10
+ import Table from "../../table/Table.vue.mjs";
11
11
  import { cloneDeep, loadComponentByPath } from "../../../utils/common.mjs";
12
12
  /* empty css */
13
13
  import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
@@ -147,7 +147,7 @@ const _sfc_main = {
147
147
  };
148
148
  }
149
149
  };
150
- const _LayoutCard = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5a0ae40d"]]);
150
+ const _LayoutCard = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c90689d4"]]);
151
151
  export {
152
152
  _LayoutCard as default
153
153
  };
@@ -898,7 +898,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
898
898
  };
899
899
  }
900
900
  });
901
- const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c35f81ee"]]);
901
+ const Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c35f81ee"]]);
902
902
  export {
903
- _Table as default
903
+ Table as default
904
904
  };
@@ -1,6 +1,6 @@
1
- import _Table from "./Table.vue.mjs";
1
+ import Table$1 from "./Table.vue.mjs";
2
2
  import install from "../../utils/install.mjs";
3
- const Table = install.withInstall("Table", _Table);
3
+ const Table = install.withInstall("Table", Table$1);
4
4
  export {
5
5
  Table,
6
6
  Table as default
@@ -1,5 +1,5 @@
1
- import cloneDeep$1 from "../../../../node_modules/lodash-es/cloneDeep.mjs";
2
1
  import isEqual$1 from "../../../../node_modules/lodash-es/isEqual.mjs";
2
+ import cloneDeep$1 from "../../../../node_modules/lodash-es/cloneDeep.mjs";
3
3
  function cloneDeep(data) {
4
4
  return cloneDeep$1(data);
5
5
  }
@@ -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.119";
3
+ const version = "5.4.121";
4
4
  const packageJson = {
5
5
  version
6
6
  };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("./index.vue.js");
3
+ const index = require("./index.vue2.js");
4
4
  const vue = require("vue");
5
5
  function useDialogDialog() {
6
6
  const dialogDialogVisible = vue.ref(false);
@@ -86,7 +86,7 @@ const widgets = require("../table/property/widgets.vue.js");
86
86
  require("../../../../node_modules/element-plus/theme-chalk/el-tab-pane.css.js");
87
87
  ;/* empty css */
88
88
  ;/* empty css */
89
- ;/* empty css */
89
+ ;/* empty css */
90
90
  ;/* empty css */
91
91
  ;/* empty css */
92
92
  ;/* empty css */
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("./index.vue.js");
3
+ const index = require("./index.vue2.js");
4
4
  const vue = require("vue");
5
5
  function useDialogGlobalDialog() {
6
6
  const dialogGlobalDialogVisible = vue.ref(false);
@@ -54,8 +54,8 @@ const _pluginVue_exportHelper = require("../../../../../_virtual/_plugin-vue_exp
54
54
  require("../../../components/TemplateSelector.vue.js");
55
55
  require("../../table/default.js");
56
56
  ;/* empty css */
57
- ;/* empty css */
58
- ;/* empty css */
57
+ ;/* empty css */
58
+ ;/* empty css */
59
59
  require("../../../store/index.js");
60
60
  ;/* empty css */
61
61
  const index$2 = require("../../../../../node_modules/element-plus/es/components/collapse/index.js");