@fecp/designer 5.4.121 → 5.4.124

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 (40) 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 +165 -165
  7. package/es/node_modules/element-plus/es/utils/types.mjs +1 -1
  8. package/es/node_modules/element-plus/es/utils/vue/icon.mjs +1 -1
  9. package/es/node_modules/element-plus/es/utils/vue/install.mjs +1 -1
  10. package/es/node_modules/element-plus/node_modules/@vueuse/core/index.mjs +2 -2
  11. package/es/node_modules/element-plus/node_modules/@vueuse/shared/index.mjs +1 -1
  12. package/es/node_modules/h-vue3-flow/es/node_modules/bpmn-js/lib/BaseViewer.mjs +2 -2
  13. package/es/packages/mobile/src/components/base/card/Card.vue.mjs +2 -2
  14. package/es/packages/vue/src/components/all.mjs +4 -4
  15. package/es/packages/vue/src/components/dialog/DialogRenderer.vue2.mjs +7 -7
  16. package/es/packages/vue/src/components/forms/form/Form.vue.mjs +0 -2
  17. package/es/packages/vue/src/components/forms/index.mjs +2 -2
  18. package/es/packages/vue/src/components/layout/layoutCard/LayoutCard.vue.mjs +2 -2
  19. package/es/packages/vue/src/components/table/Table.vue.mjs +2 -4
  20. package/es/packages/vue/src/components/table/TableColumn.vue.mjs +0 -2
  21. package/es/packages/vue/src/components/table/index.mjs +2 -2
  22. package/es/packages/vue/src/composables/usePageEvents.mjs +0 -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 +165 -165
  30. package/lib/node_modules/h-vue3-flow/es/node_modules/bpmn-js/lib/BaseViewer.js +16 -16
  31. package/lib/packages/mobile/src/components/base/card/Card.vue.js +2 -2
  32. package/lib/packages/vue/src/components/all.js +48 -48
  33. package/lib/packages/vue/src/components/dialog/DialogRenderer.vue2.js +10 -10
  34. package/lib/packages/vue/src/components/forms/form/Form.vue.js +0 -2
  35. package/lib/packages/vue/src/components/forms/index.js +42 -42
  36. package/lib/packages/vue/src/components/table/Table.vue.js +2 -4
  37. package/lib/packages/vue/src/components/table/TableColumn.vue.js +0 -2
  38. package/lib/packages/vue/src/composables/usePageEvents.js +0 -2
  39. package/lib/packages/vue/src/utils/common.js +1 -1
  40. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { isArray, isObject, isString } from "../../../@vue/shared/dist/shared.esm-bundler.mjs";
1
+ import { isString, isArray, isObject } 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,5 +1,5 @@
1
1
  import { definePropType } from "./props/runtime.mjs";
2
- import { CircleClose as circle_close_default, CircleCheck as circle_check_default, Loading as loading_default, Close as close_default, InfoFilled as info_filled_default, CircleCloseFilled as circle_close_filled_default, WarningFilled as warning_filled_default, SuccessFilled as success_filled_default } from "../../../../@element-plus/icons-vue/dist/index.mjs";
2
+ import { CircleClose as circle_close_default, CircleCheck as circle_check_default, Loading as loading_default, InfoFilled as info_filled_default, CircleCloseFilled as circle_close_filled_default, WarningFilled as warning_filled_default, SuccessFilled as success_filled_default, Close as close_default } from "../../../../@element-plus/icons-vue/dist/index.mjs";
3
3
  const iconPropType = definePropType([
4
4
  String,
5
5
  Object,
@@ -1,4 +1,4 @@
1
- import { NOOP, isArray, hasOwn } from "../../../../@vue/shared/dist/shared.esm-bundler.mjs";
1
+ import { isArray, hasOwn, NOOP } 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 { noop, isIOS, toValue, isObject, tryOnScopeDispose, isClient, tryOnMounted, isDef, notNullish } from "../shared/index.mjs";
1
+ import { toValue, tryOnScopeDispose, noop, isObject, isClient, tryOnMounted, isIOS, notNullish, 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
- import { watch, computed, ref, getCurrentInstance, onMounted, nextTick, watchEffect } from "vue";
3
+ import { computed, watch, ref, getCurrentInstance, onMounted, watchEffect, nextTick } 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 { unref, getCurrentScope, onScopeDispose, shallowRef, watchEffect, readonly, ref, watch, onMounted, nextTick, getCurrentInstance, computed, isRef, reactive } from "vue";
1
+ import { unref, getCurrentScope, onScopeDispose, shallowRef, watchEffect, readonly, ref, onMounted, nextTick, getCurrentInstance, watch, computed, isRef, reactive } from "vue";
2
2
  function computedEager(fn, options) {
3
3
  var _a;
4
4
  const result = shallowRef();
@@ -1,11 +1,11 @@
1
1
  import { assign as q, omit as C, isNumber as P, find as _ } from "../../min-dash/dist/index.esm.mjs";
2
- import { domify as G, assignStyle as B, query as K, event as m, remove as I$1 } from "../../min-dom/dist/index.esm.mjs";
2
+ import { remove as I$1, query as K, domify as G, assignStyle as B, event as m } from "../../min-dom/dist/index.esm.mjs";
3
3
  import { innerSVG as $ } from "../../tiny-svg/dist/index.esm.mjs";
4
4
  import ie from "../../bpmn-moddle/dist/index.esm.mjs";
5
5
  import t from "../../inherits-browser/dist/index.es.mjs";
6
6
  import { importBpmnDiagram as y } from "./import/Importer.mjs";
7
7
  import { wrapForCompatibility as u } from "./util/CompatibilityUtil.mjs";
8
- import { open as m$1, BPMNIO_IMG as n, LOGO_STYLES as h, LINK_STYLES as l$1 } from "./util/PoweredByUtil.mjs";
8
+ import { LOGO_STYLES as h, LINK_STYLES as l$1, open as m$1, BPMNIO_IMG as n } from "./util/PoweredByUtil.mjs";
9
9
  import r from "../../diagram-js/lib/Diagram.mjs";
10
10
  function s(t2) {
11
11
  t2 = q({}, j, t2), this._moddle = this._createModdle(t2), this._container = this._createContainer(t2), O(this._container), this._init(this._container, this._moddle, t2);
@@ -6,13 +6,13 @@
6
6
  /* empty css */
7
7
  /* empty css */
8
8
  import { createBlock, openBlock, withCtx, createVNode, renderSlot } from "vue";
9
- /* empty css */
10
- import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
11
9
  /* empty css */
12
10
  /* empty css */
13
11
  /* empty css */
14
12
  /* empty css */
15
13
  /* empty css */
14
+ /* empty css */
15
+ import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.mjs";
16
16
  import { SwipeCell } from "../../../../node_modules/vant/es/swipe-cell/index.mjs";
17
17
  import { showConfirmDialog } from "../../../../node_modules/vant/es/dialog/function-call.mjs";
18
18
  import "../../../../node_modules/vant/es/dialog/index.mjs";
@@ -1,3 +1,7 @@
1
+ import { Layout } from "./layout/index.mjs";
2
+ import { Table } from "./table/index.mjs";
3
+ import { Form } from "./forms/form/index.mjs";
4
+ import { FormItem } from "./forms/formItem/index.mjs";
1
5
  import { Text } from "./forms/text/index.mjs";
2
6
  import { Textarea } from "./forms/textarea/index.mjs";
3
7
  import { Number } from "./forms/number/index.mjs";
@@ -17,10 +21,6 @@ import { Area } from "./forms/area/index.mjs";
17
21
  import { Industry } from "./forms/industry/index.mjs";
18
22
  import { UserSelect } from "./forms/userSelect/index.mjs";
19
23
  import { RoleSelect } from "./forms/roleSelect/index.mjs";
20
- import { FormItem } from "./forms/formItem/index.mjs";
21
- import { Form } from "./forms/form/index.mjs";
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";
@@ -3,9 +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, computed, watch, createBlock, openBlock, resolveDynamicComponent, mergeProps, withCtx, createElementVNode, normalizeStyle, normalizeClass, createElementBlock, Fragment, createCommentVNode, unref, normalizeProps, toDisplayString, createVNode, createTextVNode, renderList } from "vue";
7
- import { Table } from "../table/index.mjs";
8
- import { Form } from "../forms/form/index.mjs";
6
+ import { ref, computed, watch, resolveComponent, createBlock, openBlock, resolveDynamicComponent, mergeProps, withCtx, createElementVNode, normalizeStyle, normalizeClass, createElementBlock, Fragment, createCommentVNode, normalizeProps, toDisplayString, createVNode, createTextVNode, renderList } from "vue";
9
7
  import { parseRouteParams } from "../../utils/parseRouteParams.mjs";
10
8
  import { calculate } from "../../utils/formulajs/calculate.mjs";
11
9
  import { useEventFlow, executeEventFlow } from "../../utils/eventFlow/eventFlowHandler.mjs";
@@ -318,6 +316,8 @@ const _sfc_main = {
318
316
  emit("confirm");
319
317
  }
320
318
  return (_ctx, _cache) => {
319
+ const _component_fec_table = resolveComponent("fec-table");
320
+ const _component_fec_form = resolveComponent("fec-form");
321
321
  const _component_el_button = ElButton;
322
322
  const _component_el_dialog = ElDialog;
323
323
  return __props.dialogConfig.componentIsDialog ? (openBlock(), createBlock(resolveDynamicComponent(currentComponent.value), mergeProps({
@@ -393,7 +393,7 @@ const _sfc_main = {
393
393
  style: normalizeStyle(contentStyle.value)
394
394
  }, [
395
395
  ((_b = __props.dialogConfig) == null ? void 0 : _b.contentSource) === "table" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
396
- __props.dialogConfig.tableContent === "select" ? (openBlock(), createBlock(unref(Table), {
396
+ __props.dialogConfig.tableContent === "select" ? (openBlock(), createBlock(_component_fec_table, {
397
397
  key: 0,
398
398
  templateKey: __props.dialogConfig.subTableKey,
399
399
  mode: __props.dialogConfig.subTableMode,
@@ -405,7 +405,7 @@ const _sfc_main = {
405
405
  onSelectionChange: tableSelectionChange,
406
406
  ref_key: "dialogTableRef",
407
407
  ref: dialogTableRef
408
- }, null, 8, ["templateKey", "mode", "hasPagination", "initHiddenData", "readonly", "selectMode"])) : __props.dialogConfig.tableContent === "custom" ? (openBlock(), createBlock(unref(Table), {
408
+ }, null, 8, ["templateKey", "mode", "hasPagination", "initHiddenData", "readonly", "selectMode"])) : __props.dialogConfig.tableContent === "custom" ? (openBlock(), createBlock(_component_fec_table, {
409
409
  key: 1,
410
410
  initOption: __props.dialogConfig.customTableConfig,
411
411
  isDialog: "",
@@ -417,7 +417,7 @@ const _sfc_main = {
417
417
  ref_key: "dialogTableRef",
418
418
  ref: dialogTableRef
419
419
  }, null, 8, ["initOption", "hasPagination", "initHiddenData", "readonly", "selectMode"])) : createCommentVNode("", true)
420
- ], 64)) : ((_c = __props.dialogConfig) == null ? void 0 : _c.contentSource) === "form" ? (openBlock(), createBlock(unref(Form), {
420
+ ], 64)) : ((_c = __props.dialogConfig) == null ? void 0 : _c.contentSource) === "form" ? (openBlock(), createBlock(_component_fec_form, {
421
421
  key: 1,
422
422
  templateKey: __props.dialogConfig.subFormKey,
423
423
  isDialog: "",
@@ -438,7 +438,7 @@ const _sfc_main = {
438
438
  };
439
439
  }
440
440
  };
441
- const DialogRenderer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-52dc41b3"]]);
441
+ const DialogRenderer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c92b2ef4"]]);
442
442
  export {
443
443
  DialogRenderer as default
444
444
  };
@@ -18,8 +18,6 @@ import { cloneDeep, removeEmptyValues, isEqual } from "../../../utils/common.mjs
18
18
  /* empty css */
19
19
  /* empty css */
20
20
  /* empty css */
21
- import "../../table/index.mjs";
22
- import "./index.mjs";
23
21
  import { calculate } from "../../../utils/formulajs/calculate.mjs";
24
22
  import { useEventFlow } from "../../../utils/eventFlow/eventFlowHandler.mjs";
25
23
  /* empty css */
@@ -1,3 +1,5 @@
1
+ import { Form } from "./form/index.mjs";
2
+ import { FormItem } from "./formItem/index.mjs";
1
3
  import { Text } from "./text/index.mjs";
2
4
  import { Textarea } from "./textarea/index.mjs";
3
5
  import { Number } from "./number/index.mjs";
@@ -17,8 +19,6 @@ import { Area } from "./area/index.mjs";
17
19
  import { Industry } from "./industry/index.mjs";
18
20
  import { UserSelect } from "./userSelect/index.mjs";
19
21
  import { RoleSelect } from "./roleSelect/index.mjs";
20
- import { FormItem } from "./formItem/index.mjs";
21
- import { Form } from "./form/index.mjs";
22
22
  export {
23
23
  Area,
24
24
  Cascader,
@@ -7,7 +7,7 @@ import { customDialog } from "../../dialog/customDialog/index.mjs";
7
7
  import api from "../../../api/index.mjs";
8
8
  import { getCurrentVueInstance } from "../../../utils/getInstance.mjs";
9
9
  import Form from "../../forms/form/Form.vue.mjs";
10
- import Table from "../../table/Table.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";
@@ -81,7 +81,7 @@ const _sfc_main = {
81
81
  currentComponent.value = Form;
82
82
  currentParams.value.modelValue = cloneDeep(props.morePageParams);
83
83
  } else {
84
- currentComponent.value = Table;
84
+ currentComponent.value = _Table;
85
85
  currentParams.value.initHiddenData = cloneDeep(props.morePageParams);
86
86
  currentParams.value.hasPagination = true;
87
87
  }
@@ -21,8 +21,6 @@ import { isEqual } from "../../utils/common.mjs";
21
21
  /* empty css */
22
22
  /* empty css */
23
23
  /* empty css */
24
- import "./index.mjs";
25
- import "../forms/form/index.mjs";
26
24
  import "../../utils/formulajs/functionCore.mjs";
27
25
  import { useEventFlow } from "../../utils/eventFlow/eventFlowHandler.mjs";
28
26
  /* empty css */
@@ -898,7 +896,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
898
896
  };
899
897
  }
900
898
  });
901
- const Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c35f81ee"]]);
899
+ const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c35f81ee"]]);
902
900
  export {
903
- Table as default
901
+ _Table as default
904
902
  };
@@ -12,8 +12,6 @@ import { removeEmptyValues } from "../../utils/common.mjs";
12
12
  /* empty css */
13
13
  /* empty css */
14
14
  /* empty css */
15
- import "./index.mjs";
16
- import "../forms/form/index.mjs";
17
15
  import "../../utils/formulajs/functionCore.mjs";
18
16
  import { useEventFlow } from "../../utils/eventFlow/eventFlowHandler.mjs";
19
17
  /* empty css */
@@ -1,6 +1,6 @@
1
- import Table$1 from "./Table.vue.mjs";
1
+ import _Table from "./Table.vue.mjs";
2
2
  import install from "../../utils/install.mjs";
3
- const Table = install.withInstall("Table", Table$1);
3
+ const Table = install.withInstall("Table", _Table);
4
4
  export {
5
5
  Table,
6
6
  Table as default
@@ -6,8 +6,6 @@ import { onUnmounted, onBeforeUnmount, onMounted } from "vue";
6
6
  /* empty css */
7
7
  /* empty css */
8
8
  /* empty css */
9
- import "../components/table/index.mjs";
10
- import "../components/forms/form/index.mjs";
11
9
  import "../utils/formulajs/functionCore.mjs";
12
10
  import { useEventFlow } from "../utils/eventFlow/eventFlowHandler.mjs";
13
11
  /* empty css */
@@ -1,5 +1,5 @@
1
- import isEqual$1 from "../../../../node_modules/lodash-es/isEqual.mjs";
2
1
  import cloneDeep$1 from "../../../../node_modules/lodash-es/cloneDeep.mjs";
2
+ import isEqual$1 from "../../../../node_modules/lodash-es/isEqual.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.121";
3
+ const version = "5.4.124";
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.vue2.js");
3
+ const index = require("./index.vue.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.vue2.js");
3
+ const index = require("./index.vue.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");