@fecp/designer 5.6.22 → 5.6.23

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 (27) 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/useDialogGlobalDialog.mjs +1 -1
  4. package/es/designer/src/packages/form/property/widgets.vue.mjs +2 -2
  5. package/es/designer.css +796 -796
  6. package/es/node_modules/element-plus/es/components/container/index.mjs +1 -1
  7. package/es/node_modules/element-plus/es/components/form/index.mjs +1 -1
  8. package/es/node_modules/element-plus/es/components/input/src/input.vue_vue_type_script_setup_true_lang.mjs +1 -1
  9. package/es/packages/vue/src/components/dialog/DialogRenderer.vue2.mjs +7 -7
  10. package/es/packages/vue/src/components/forms/form/Form.vue.mjs +4 -2
  11. package/es/packages/vue/src/components/forms/form/index.mjs +2 -2
  12. package/es/packages/vue/src/components/layout/layoutCard/LayoutCard.vue.mjs +4 -4
  13. package/es/packages/vue/src/components/table/Table.vue.mjs +4 -2
  14. package/es/packages/vue/src/components/table/TableColumn.vue.mjs +2 -0
  15. package/es/packages/vue/src/components/table/index.mjs +2 -2
  16. package/es/packages/vue/src/composables/usePageEvents.mjs +2 -0
  17. package/lib/designer/package.json.js +1 -1
  18. package/lib/designer/src/packages/dialog/useDialogDialog.js +1 -1
  19. package/lib/designer/src/packages/dialogGlobal/useDialogGlobalDialog.js +1 -1
  20. package/lib/designer/src/packages/form/property/widgets.vue.js +2 -2
  21. package/lib/designer.css +796 -796
  22. package/lib/packages/vue/src/components/dialog/DialogRenderer.vue2.js +10 -10
  23. package/lib/packages/vue/src/components/forms/form/Form.vue.js +4 -2
  24. package/lib/packages/vue/src/components/table/Table.vue.js +4 -2
  25. package/lib/packages/vue/src/components/table/TableColumn.vue.js +2 -0
  26. package/lib/packages/vue/src/composables/usePageEvents.js +2 -0
  27. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { withNoopInstall, withInstall } from "../../utils/vue/install.mjs";
1
+ import { withInstall, withNoopInstall } from "../../utils/vue/install.mjs";
2
2
  import container_default from "./src/container.mjs";
3
3
  import aside_default from "./src/aside.mjs";
4
4
  import footer_default from "./src/footer.mjs";
@@ -1,4 +1,4 @@
1
- import { withNoopInstall, withInstall } from "../../utils/vue/install.mjs";
1
+ import { withInstall, withNoopInstall } from "../../utils/vue/install.mjs";
2
2
  import form_default from "./src/form2.mjs";
3
3
  import form_item_default from "./src/form-item2.mjs";
4
4
  const ElForm = withInstall(form_default, { FormItem: form_item_default });
@@ -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";
@@ -3,13 +3,15 @@ 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, resolveComponent, createBlock, openBlock, resolveDynamicComponent, mergeProps, normalizeClass, withCtx, createElementVNode, normalizeStyle, createElementBlock, Fragment, createCommentVNode, normalizeProps, toDisplayString, createVNode, createTextVNode, renderList } from "vue";
6
+ import { ref, computed, watch, createBlock, openBlock, resolveDynamicComponent, mergeProps, normalizeClass, withCtx, createElementVNode, normalizeStyle, createElementBlock, Fragment, createCommentVNode, unref, normalizeProps, toDisplayString, createVNode, createTextVNode, renderList } from "vue";
7
7
  import { parseRouteParams } from "../../utils/parseRouteParams.mjs";
8
8
  import { calculate } from "../../utils/formulajs/calculate.mjs";
9
9
  import { useEventFlow, executeEventFlow } from "../../utils/eventFlow/eventFlowHandler.mjs";
10
10
  /* empty css */
11
11
  /* empty css */
12
12
  import { loadComponentByPath } from "../../utils/common.mjs";
13
+ import { Table } from "../table/index.mjs";
14
+ import { Form } from "../forms/form/index.mjs";
13
15
  /* empty css */
14
16
  import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.mjs";
15
17
  /* empty css */
@@ -316,8 +318,6 @@ const _sfc_main = {
316
318
  }
317
319
  return (_ctx, _cache) => {
318
320
  var _a;
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({
@@ -395,7 +395,7 @@ const _sfc_main = {
395
395
  style: normalizeStyle(contentStyle.value)
396
396
  }, [
397
397
  ((_b = __props.dialogConfig) == null ? void 0 : _b.contentSource) === "table" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
398
- __props.dialogConfig.tableContent === "select" ? (openBlock(), createBlock(_component_fec_table, {
398
+ __props.dialogConfig.tableContent === "select" ? (openBlock(), createBlock(unref(Table), {
399
399
  key: 0,
400
400
  templateKey: __props.dialogConfig.subTableKey,
401
401
  mode: __props.dialogConfig.subTableMode,
@@ -407,7 +407,7 @@ const _sfc_main = {
407
407
  onSelectionChange: tableSelectionChange,
408
408
  ref_key: "dialogTableRef",
409
409
  ref: dialogTableRef
410
- }, null, 8, ["templateKey", "mode", "hasPagination", "initHiddenData", "readonly", "selectMode"])) : __props.dialogConfig.tableContent === "custom" ? (openBlock(), createBlock(_component_fec_table, {
410
+ }, null, 8, ["templateKey", "mode", "hasPagination", "initHiddenData", "readonly", "selectMode"])) : __props.dialogConfig.tableContent === "custom" ? (openBlock(), createBlock(unref(Table), {
411
411
  key: 1,
412
412
  initOption: __props.dialogConfig.customTableConfig,
413
413
  isDialog: "",
@@ -419,7 +419,7 @@ const _sfc_main = {
419
419
  ref_key: "dialogTableRef",
420
420
  ref: dialogTableRef
421
421
  }, null, 8, ["initOption", "hasPagination", "initHiddenData", "readonly", "selectMode"])) : createCommentVNode("", true)
422
- ], 64)) : ((_c = __props.dialogConfig) == null ? void 0 : _c.contentSource) === "form" ? (openBlock(), createBlock(_component_fec_form, {
422
+ ], 64)) : ((_c = __props.dialogConfig) == null ? void 0 : _c.contentSource) === "form" ? (openBlock(), createBlock(unref(Form), {
423
423
  key: 1,
424
424
  templateKey: __props.dialogConfig.subFormKey,
425
425
  isDialog: "",
@@ -440,7 +440,7 @@ const _sfc_main = {
440
440
  };
441
441
  }
442
442
  };
443
- const DialogRenderer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2b0f2231"]]);
443
+ const DialogRenderer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a64f3485"]]);
444
444
  export {
445
445
  DialogRenderer as default
446
446
  };
@@ -21,6 +21,8 @@ import { cloneDeep, removeEmptyValues, isEqual } from "../../../utils/common.mjs
21
21
  /* empty css */
22
22
  import { calculate } from "../../../utils/formulajs/calculate.mjs";
23
23
  import { useEventFlow } from "../../../utils/eventFlow/eventFlowHandler.mjs";
24
+ import "../../table/index.mjs";
25
+ import "./index.mjs";
24
26
  /* empty css */
25
27
  /* empty css */
26
28
  /* empty css */
@@ -1330,7 +1332,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
1330
1332
  };
1331
1333
  }
1332
1334
  });
1333
- const _Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2a14b0ea"]]);
1335
+ const Form = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2a14b0ea"]]);
1334
1336
  export {
1335
- _Form as default
1337
+ Form as default
1336
1338
  };
@@ -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
@@ -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/Form.vue.mjs";
10
- import _Table from "../../table/Table.vue.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";
@@ -78,10 +78,10 @@ const _sfc_main = {
78
78
  }).then((res) => {
79
79
  const data = JSON.parse(res);
80
80
  if (data.formMode) {
81
- currentComponent.value = _Form;
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
  }
@@ -23,6 +23,8 @@ import { isEqual } from "../../utils/common.mjs";
23
23
  /* empty css */
24
24
  import "../../utils/formulajs/functionCore.mjs";
25
25
  import { useEventFlow } from "../../utils/eventFlow/eventFlowHandler.mjs";
26
+ import "./index.mjs";
27
+ import "../forms/form/index.mjs";
26
28
  /* empty css */
27
29
  /* empty css */
28
30
  /* empty css */
@@ -1026,7 +1028,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({
1026
1028
  };
1027
1029
  }
1028
1030
  });
1029
- const _Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-28ff595c"]]);
1031
+ const Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-28ff595c"]]);
1030
1032
  export {
1031
- _Table as default
1033
+ Table as default
1032
1034
  };
@@ -13,6 +13,8 @@ import { removeEmptyValues } from "../../utils/common.mjs";
13
13
  /* empty css */
14
14
  import "../../utils/formulajs/functionCore.mjs";
15
15
  import { useEventFlow } from "../../utils/eventFlow/eventFlowHandler.mjs";
16
+ import "./index.mjs";
17
+ import "../forms/form/index.mjs";
16
18
  /* empty css */
17
19
  import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.mjs";
18
20
  /* empty css */
@@ -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
@@ -7,6 +7,8 @@ import { onUnmounted, onBeforeUnmount, onMounted } from "vue";
7
7
  /* empty css */
8
8
  import "../utils/formulajs/functionCore.mjs";
9
9
  import { useEventFlow } from "../utils/eventFlow/eventFlowHandler.mjs";
10
+ import "../components/table/index.mjs";
11
+ import "../components/forms/form/index.mjs";
10
12
  /* empty css */
11
13
  /* empty css */
12
14
  /* empty css */
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const version = "5.6.22";
3
+ const version = "5.6.23";
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);
@@ -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");