@fecp/designer 5.4.116 → 5.4.118

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
- import { UPDATE_MODEL_EVENT, CHANGE_EVENT, INPUT_EVENT } from "../../../constants/event.mjs";
1
+ import { INPUT_EVENT, UPDATE_MODEL_EVENT, CHANGE_EVENT } from "../../../constants/event.mjs";
2
2
  import { useResizeObserver } from "../../../../node_modules/@vueuse/core/index.mjs";
3
3
  import { NOOP, isObject } from "../../../../../@vue/shared/dist/shared.esm-bundler.mjs";
4
4
  import { debugWarn } from "../../../utils/error.mjs";
@@ -1,6 +1,6 @@
1
- import { toValue, tryOnScopeDispose, noop, isObject, isClient, isIOS, notNullish, tryOnMounted, isDef } from "../shared/index.mjs";
1
+ import { toValue, tryOnScopeDispose, noop, isObject, isClient, tryOnMounted, notNullish, isIOS, 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 { computed, watch, 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 { 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, 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);
@@ -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,4 @@
1
- import { defineAsyncComponent, inject, computed, ref, createElementBlock, openBlock, Fragment, createCommentVNode, createVNode, createBlock, unref, isRef } from "vue";
1
+ import { inject, computed, ref, resolveComponent, 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,7 +46,6 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
46
46
  // },
47
47
  },
48
48
  setup(__props, { expose: __expose }) {
49
- const Form = defineAsyncComponent(() => import("../form/index.mjs"));
50
49
  const props = __props;
51
50
  const formData = inject("formData");
52
51
  inject("rowHeight");
@@ -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/Table.vue.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,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 { defineAsyncComponent, ref, resolveDirective, withDirectives, createBlock, openBlock, withCtx, createVNode, createElementVNode, unref, isRef, renderSlot, createCommentVNode } from "vue";
6
+ import { ref, resolveComponent, 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,7 +31,6 @@ 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"));
35
34
  const layoutRowRef = ref();
36
35
  const formData = ref(props.initFormData);
37
36
  const emit = __emit;
@@ -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-dba8800a"]]);
96
+ const _Layout = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-849fb725"]]);
97
97
  export {
98
98
  _Layout as default
99
99
  };
@@ -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$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
@@ -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.116";
3
+ const version = "5.4.118";
4
4
  const packageJson = {
5
5
  version
6
6
  };