super-page-designer 2.1.84 → 2.1.88

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 (20) hide show
  1. package/dist/es/components/design/utils/assemblys-config.js +8 -19
  2. package/dist/es/components/design/utils/page-event-util.js +1 -1
  3. package/dist/es/components/design/utils/page-explore-util.js +1 -1
  4. package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +27 -15
  5. package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +1 -1
  6. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-advanced.vue.js +0 -1
  7. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue.js +0 -1
  8. package/dist/es/components/design/views/assemblys/common/common-i18n-key-input.vue.js +0 -1
  9. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +2 -2
  10. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue2.js +738 -1
  11. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +1 -738
  12. package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +1 -1
  13. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-dynamic-column.vue.js +0 -1
  14. package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +1 -1
  15. package/dist/es/components/design/views/design/page-event/page-event-container.vue.js +2 -1
  16. package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +26 -19
  17. package/dist/es/components/design/views/design/view/assemblys-container-explore.vue.js +3 -2
  18. package/dist/es/components/design/views/design/view/components/quick-add-dialog.vue.js +1 -0
  19. package/dist/es/style.css +17655 -1
  20. package/package.json +3 -3
@@ -340,9 +340,7 @@ const assemblyGroups = [
340
340
  icon: containerFLex,
341
341
  props: { base: {}, size: { widthType: "flex", flexSpan: 24 } },
342
342
  style: {},
343
- events: [
344
- { name: "afterInit", label: "初始化后", tip: "初始化后" }
345
- ],
343
+ events: [{ name: "afterInit", label: "初始化后", tip: "初始化后" }],
346
344
  designComponent: defineAsyncComponent(() => {
347
345
  return import("../views/assemblys/container/flex/flex-design.vue.js");
348
346
  }),
@@ -357,9 +355,7 @@ const assemblyGroups = [
357
355
  default: {},
358
356
  props: { base: {}, size: {} },
359
357
  style: {},
360
- events: [
361
- { name: "afterInit", label: "初始化后", tip: "初始化后" }
362
- ],
358
+ events: [{ name: "afterInit", label: "初始化后", tip: "初始化后" }],
363
359
  designComponent: defineAsyncComponent(() => {
364
360
  return import("../views/assemblys/container/collapse/collapse-design.vue.js");
365
361
  }),
@@ -402,9 +398,7 @@ const assemblyGroups = [
402
398
  size: {}
403
399
  },
404
400
  style: {},
405
- events: [
406
- { name: "afterInit", label: "初始化后", tip: "初始化后" }
407
- ],
401
+ events: [{ name: "afterInit", label: "初始化后", tip: "初始化后" }],
408
402
  designComponent: defineAsyncComponent(() => {
409
403
  return import("../views/assemblys/container/card/card-design.vue.js");
410
404
  }),
@@ -419,9 +413,7 @@ const assemblyGroups = [
419
413
  default: {},
420
414
  props: { base: {}, size: {} },
421
415
  style: {},
422
- events: [
423
- { name: "afterInit", label: "初始化后", tip: "初始化后" }
424
- ],
416
+ events: [{ name: "afterInit", label: "初始化后", tip: "初始化后" }],
425
417
  designComponent: defineAsyncComponent(() => {
426
418
  return import("../views/assemblys/container/tools/tools-design.vue.js");
427
419
  }),
@@ -436,9 +428,7 @@ const assemblyGroups = [
436
428
  default: {},
437
429
  props: { base: {}, size: {} },
438
430
  style: {},
439
- events: [
440
- { name: "afterInit", label: "初始化后", tip: "初始化后" }
441
- ],
431
+ events: [{ name: "afterInit", label: "初始化后", tip: "初始化后" }],
442
432
  designComponent: defineAsyncComponent(() => {
443
433
  return import("../views/assemblys/container/iframe/iframe-design.vue.js");
444
434
  }),
@@ -453,9 +443,7 @@ const assemblyGroups = [
453
443
  default: {},
454
444
  props: { base: {}, size: {} },
455
445
  style: {},
456
- events: [
457
- { name: "afterInit", label: "初始化后", tip: "初始化后" }
458
- ],
446
+ events: [{ name: "afterInit", label: "初始化后", tip: "初始化后" }],
459
447
  designComponent: defineAsyncComponent(() => {
460
448
  return import("../views/assemblys/container/container/container-design.vue.js");
461
449
  }),
@@ -1318,7 +1306,8 @@ const assemblyGroups = [
1318
1306
  { name: "row-dblclick", label: "行双击", tip: "当某一行被双击时会触发该事件" },
1319
1307
  { name: "header-click", label: "列表头点击", tip: "当某一列的表头被点击时会触发该事件" },
1320
1308
  { name: "show", label: "列表显示", tip: "列表显示回调方法" },
1321
- { name: "hidden", label: "列表隐藏", tip: "列表隐藏回调方法" }
1309
+ { name: "hidden", label: "列表隐藏", tip: "列表隐藏回调方法" },
1310
+ { name: "filter-data", label: "数据过滤", tip: "列表数据过滤方法" }
1322
1311
  ],
1323
1312
  icon: dataTable,
1324
1313
  btnList: [
@@ -16,7 +16,7 @@ function getCustomFuncs() {
16
16
  }
17
17
  }
18
18
  } catch (e) {
19
- debugger;
19
+ console.error("获取自定义方法失败", e);
20
20
  }
21
21
  return options;
22
22
  }
@@ -36,7 +36,7 @@ function convertPageItemToTreeItem(pageItem, searchItemName, cachePageItemMap, e
36
36
  isHas = true;
37
37
  }
38
38
  }
39
- if (isHas) {
39
+ if (isHas && pageItem.componentIndex) {
40
40
  const treeItem = {
41
41
  componentIndex: pageItem.componentIndex,
42
42
  name: pageItem.name,
@@ -1,10 +1,11 @@
1
- import { defineComponent, ref, watch, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createTextVNode, createCommentVNode } from "vue";
1
+ import { defineComponent, ref, watch, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createElementBlock, Fragment, renderList, createTextVNode, createCommentVNode } from "vue";
2
2
  import _sfc_main$2 from "../component/condition-dialog.vue.js";
3
3
  import _sfc_main$3 from "../component/set-dialog.vue.js";
4
4
  import _sfc_main$4 from "../component/combination.vue.js";
5
5
  import JournalSetDialog from "../component/journal-set-dialog.vue.js";
6
6
  import _sfc_main$1 from "../../common/common-advanced-basic-showcondition.vue.js";
7
7
  import { isShowOpinionSetting } from "../../../../utils/form-design-util.js";
8
+ import http from "agilebuilder-ui/src/utils/request";
8
9
  const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
9
10
  const _sfc_main = /* @__PURE__ */ defineComponent({
10
11
  __name: "button-attr-advanced",
@@ -21,9 +22,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
21
22
  }
22
23
  },
23
24
  setup(__props) {
25
+ var _a;
24
26
  const props = __props;
25
27
  const openCollapseItems = ref(["base"]);
26
28
  const journalSetVisible = ref(false);
29
+ const conversionRules = ref([]);
30
+ const systemVersion = (_a = props.pageDesign) == null ? void 0 : _a.systemVersion;
31
+ http.post(
32
+ window["$vueApp"].config.globalProperties.baseAPI + `/mms/setting-transformations/option/${props.pageDesign.systemCode}/${systemVersion}`
33
+ ).then((res) => {
34
+ conversionRules.value = res;
35
+ });
27
36
  function closeJournalSet() {
28
37
  journalSetVisible.value = false;
29
38
  }
@@ -55,12 +64,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
55
64
  props.configure.props.base.showConditions = JSON.stringify(table);
56
65
  }
57
66
  const isShowOpinion = ref(isShowMustOpinion());
58
- watch(props.configure.events, (newVal) => {
59
- isShowOpinion.value = isShowMustOpinion();
60
- if (!isShowOpinion.value) {
61
- props.configure.props.base.isMustOpinion = false;
62
- }
63
- }, { immediate: true });
67
+ watch(
68
+ props.configure.events,
69
+ (newVal) => {
70
+ isShowOpinion.value = isShowMustOpinion();
71
+ if (!isShowOpinion.value) {
72
+ props.configure.props.base.isMustOpinion = false;
73
+ }
74
+ },
75
+ { immediate: true }
76
+ );
64
77
  function isShowMustOpinion() {
65
78
  let isShow = false;
66
79
  const clickEvent = props.configure.events.filter((item) => item.name === "click" && item.eventName);
@@ -142,14 +155,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
142
155
  class: "ml-4"
143
156
  }, {
144
157
  default: withCtx(() => [
145
- createVNode(_component_el_option, {
146
- label: "规则1",
147
- value: "noOperation"
148
- }),
149
- createVNode(_component_el_option, {
150
- label: "规则2",
151
- value: "refresh"
152
- })
158
+ (openBlock(true), createElementBlock(Fragment, null, renderList(conversionRules.value, (item) => {
159
+ return openBlock(), createBlock(_component_el_option, {
160
+ key: item.code,
161
+ label: item.name,
162
+ value: item.code
163
+ }, null, 8, ["label", "value"]);
164
+ }), 128))
153
165
  ]),
154
166
  _: 1
155
167
  }, 8, ["modelValue"])
@@ -10,7 +10,7 @@ import "@element-plus/icons-vue";
10
10
  import "uuid";
11
11
  import "../../../../../../stores/table-store.js";
12
12
  import "../../../../../../stores/statistics-table-store.js";
13
- import "../../common/common-variable-bind.vue2.js";
13
+ import "../../common/common-variable-bind.vue3.js";
14
14
  import { getTableConfigByTableUuid } from "../../../../utils/page-table-util.js";
15
15
  import _sfc_main$2 from "../../common/common-i18n-key-input.vue.js";
16
16
  import _sfc_main$4 from "../../chart/statistical-table/component/link-table.vue.js";
@@ -28,7 +28,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
28
28
  watch(
29
29
  () => props.configure.props.groupHeaders,
30
30
  (val) => {
31
- debugger;
32
31
  },
33
32
  { deep: true }
34
33
  );
@@ -204,7 +204,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
204
204
  }
205
205
  }
206
206
  function updateTableShowCondition(params) {
207
- debugger;
208
207
  if (params.row) {
209
208
  params.row.showCondition = params.data;
210
209
  }
@@ -41,7 +41,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
41
41
  systemCode.value = props.systemCode;
42
42
  }
43
43
  function closeSetting(parmas) {
44
- debugger;
45
44
  }
46
45
  function changeTitle(value) {
47
46
  emits("update:modelValue", value);
@@ -1,5 +1,5 @@
1
- import _sfc_main from "./common-variable-bind.vue3.js";
2
- import "./common-variable-bind.vue2.js";
1
+ import _sfc_main from "./common-variable-bind.vue2.js";
2
+ import "./common-variable-bind.vue3.js";
3
3
  import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.js";
4
4
  const BindVariable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3528c938"]]);
5
5
  export {