super-page-designer 2.1.52 → 2.1.55

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 (41) hide show
  1. package/dist/es/components/design/utils/assemblys-config.js +13 -22
  2. package/dist/es/components/design/utils/chart-design-util.js +17 -0
  3. package/dist/es/components/design/utils/data-table-util.js +11 -9
  4. package/dist/es/components/design/views/assemblys/chart/column-line/column-line-attr.vue2.js +5 -5
  5. package/dist/es/components/design/views/assemblys/chart/common/common-attr-data.vue.js +60 -1
  6. package/dist/es/components/design/views/assemblys/chart/common/common-attr-events.vue.js +22 -0
  7. package/dist/es/components/design/views/assemblys/chart/common/common-attr-events.vue2.js +4 -0
  8. package/dist/es/components/design/views/assemblys/chart/common/common-style-yaxis.vue.js +89 -23
  9. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue.js +1 -1
  10. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue2.js +13 -5
  11. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/style-table.vue.js +1 -1
  12. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-pageination.vue.js +347 -0
  13. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-pageination.vue2.js +4 -0
  14. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +1 -1
  15. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-advanced.vue.js +1 -4
  16. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue.js +77 -50
  17. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.d.ts +9 -0
  18. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +3 -3
  19. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue2.js +1 -734
  20. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +738 -1
  21. package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +9 -2
  22. package/dist/es/components/design/views/assemblys/common-attr-events.vue.js +2 -2
  23. package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue2.js +1 -11
  24. package/dist/es/components/design/views/assemblys/container/tools/tools-design.vue2.js +31 -5
  25. package/dist/es/components/design/views/assemblys/data/component/composite-header.vue.js +1 -1
  26. package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +5 -37
  27. package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +1 -1
  28. package/dist/es/components/design/views/assemblys/data/table/table-attr.vue2.js +3 -2
  29. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-style.vue.js +5 -3
  30. package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +1 -1
  31. package/dist/es/components/design/views/assemblys/form/common/hyperlink-mult-config.vue.js +2 -2
  32. package/dist/es/components/design/views/assemblys/page/page-attr-advanced.vue.js +45 -1
  33. package/dist/es/components/design/views/assemblys/page/variable-dialog.vue.js +30 -1
  34. package/dist/es/components/design/views/design/page-event/config.vue.js +1 -7
  35. package/dist/es/components/design/views/design/page-event/config.vue2.js +7 -1
  36. package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +1 -1
  37. package/dist/es/components/design/views/design/view/view-design-display.vue.js +1 -1
  38. package/dist/es/style.css +35 -35
  39. package/package.json +5 -5
  40. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue.js +0 -205
  41. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue2.js +0 -4
@@ -295,6 +295,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
295
295
  }
296
296
  });
297
297
  }
298
+ function inputFormatter(value) {
299
+ if (value) {
300
+ return `${props.rowObj.name}:${value}`;
301
+ } else {
302
+ return null;
303
+ }
304
+ }
298
305
  return (_ctx, _cache) => {
299
306
  const _component_el_icon = resolveComponent("el-icon");
300
307
  const _component_el_input = resolveComponent("el-input");
@@ -328,7 +335,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
328
335
  size: "small",
329
336
  onClick: showPopover,
330
337
  title: __props.rowObj.name + "(" + __props.rowObj.simpleCode + ")",
331
- formatter: (value) => `${__props.rowObj.name ? __props.rowObj.name : ""}:${value}`,
338
+ formatter: inputFormatter,
332
339
  modelValue: dynamicFieldValue.value,
333
340
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dynamicFieldValue.value = $event),
334
341
  placeholder: "请选择"
@@ -347,7 +354,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
347
354
  ])
348
355
  ]),
349
356
  _: 1
350
- }, 8, ["title", "formatter", "modelValue"])
357
+ }, 8, ["title", "modelValue"])
351
358
  ]),
352
359
  default: withCtx(() => [
353
360
  createVNode(_component_el_row, {
@@ -29,7 +29,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
29
29
  const _component_el_row = resolveComponent("el-row");
30
30
  return openBlock(), createElementBlock("div", _hoisted_1, [
31
31
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.events, (eventItem, eventIndex) => {
32
- return openBlock(), createBlock(_component_el_row, { style: { "border-bottom": "2px dashed #F5F6F8", "padding-top": "5px", "padding-bottom": "5px" } }, {
32
+ return openBlock(), createBlock(_component_el_row, { style: { "border-bottom": "2px dashed #f5f6f8", "padding-top": "5px", "padding-bottom": "5px" } }, {
33
33
  default: withCtx(() => [
34
34
  createVNode(_component_el_col, {
35
35
  style: { "overflow": "hidden" },
@@ -50,7 +50,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
50
50
  default: withCtx(() => [
51
51
  eventItem.selLogicCode ? (openBlock(), createBlock(_component_el_icon, {
52
52
  key: 0,
53
- style: { "cursor": "pointer", "color": "#5893EF", "margin-right": "6px" },
53
+ style: { "cursor": "pointer", "color": "#5893ef", "margin-right": "6px" },
54
54
  title: "编辑逻辑",
55
55
  onClick: _cache[0] || (_cache[0] = ($event) => editLogic("{{eventItem.selLogicCode}}"))
56
56
  }, {
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, watch, computed, openBlock, createBlock, unref, normalizeClass, normalizeStyle, withCtx, createElementBlock, Fragment, renderList, createCommentVNode, createElementVNode, toDisplayString, createVNode, reactive } from "vue";
1
+ import { defineComponent, ref, watch, openBlock, createBlock, unref, normalizeClass, normalizeStyle, withCtx, createElementBlock, Fragment, renderList, createCommentVNode, createElementVNode, toDisplayString, createVNode, reactive } from "vue";
2
2
  import { ElTabs, ElTabPane } from "element-plus";
3
3
  import { SuperIcon } from "agilebuilder-ui";
4
4
  import { VueDraggable } from "vue-draggable-plus";
@@ -42,16 +42,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
42
42
  watch(props.configure.style, () => {
43
43
  caculateThisStyle();
44
44
  });
45
- const tempData = computed(() => [...props.configure.items]);
46
- watch(tempData, (newVal, oldVal) => {
47
- newVal.forEach((every) => {
48
- oldVal.forEach((oblEvery) => {
49
- if (every.items.length > oblEvery.items.length) {
50
- onSelectWidget(props.indexObj.index, every.items[every.items.length - 1]);
51
- }
52
- });
53
- });
54
- }, { important: true, deep: true });
55
45
  function caculateThisStyle() {
56
46
  caculateComponentStyle(props.configure, designStyle, designClass, designHeaderStyle);
57
47
  props.configure.runtime.style = designStyle.value;
@@ -5,6 +5,7 @@ import { deepCopy, getUuidv4 } from "../../../../utils/common-util.js";
5
5
  import { caculateComponentStyle } from "../../../../utils/container-design-util.js";
6
6
  import "element-plus";
7
7
  import { deleteDesignItem } from "../../../../utils/page-design-util.js";
8
+ import { getInputTypeComponentNames } from "../../../../utils/assemblys-config.js";
8
9
  const _hoisted_1 = {
9
10
  class: "amb-widget-tools-parent amb-design-item-default",
10
11
  style: { "width": "99.5%" }
@@ -40,12 +41,37 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
40
41
  watch(props.configure.props, () => {
41
42
  caculateToolsStyle();
42
43
  });
44
+ const inputTypeComponentNames = getInputTypeComponentNames();
43
45
  const tempData = computed(() => [...props.configure.items]);
44
- watch(tempData, (newVal, oldVal) => {
45
- if (newVal.length > oldVal.length) {
46
- onSelectWidget(props.indexObj.index, newVal[newVal.length - 1]);
47
- }
48
- }, { important: true, deep: true });
46
+ watch(
47
+ tempData,
48
+ (newVal, oldVal) => {
49
+ if (newVal.length > oldVal.length) {
50
+ onSelectWidget(props.indexObj.index, newVal[newVal.length - 1]);
51
+ }
52
+ if (props.pageDesign.pageType === "list") {
53
+ props.pageDesign.toolsInputComponents = [];
54
+ pushToolsInputComponents(newVal);
55
+ }
56
+ },
57
+ { important: true, deep: true }
58
+ );
59
+ function pushToolsInputComponents(items) {
60
+ items.forEach((toolsItem) => {
61
+ var _a, _b, _c, _d;
62
+ if (toolsItem.items && toolsItem.items.length > 0) {
63
+ pushToolsInputComponents(toolsItem.items);
64
+ }
65
+ if (inputTypeComponentNames.includes(toolsItem.name)) {
66
+ const tmp = {
67
+ uuid: toolsItem.uuid,
68
+ defaultValue: (_b = (_a = toolsItem.runtime) == null ? void 0 : _a.props) == null ? void 0 : _b.defaultValue,
69
+ prop: (_d = (_c = toolsItem.runtime) == null ? void 0 : _c.props) == null ? void 0 : _d.prop
70
+ };
71
+ props.pageDesign.toolsInputComponents.push(tmp);
72
+ }
73
+ });
74
+ }
49
75
  const thisRef = ref(null);
50
76
  useDraggable(thisRef, props.configure.items, {
51
77
  group: "amb-assembly-item",
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./composite-header.vue2.js";
2
2
  import "./composite-header.vue3.js";
3
3
  import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const CompositeHeader = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3438f06f"]]);
4
+ const CompositeHeader = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4fd4369c"]]);
5
5
  export {
6
6
  CompositeHeader as default
7
7
  };
@@ -27,11 +27,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
27
27
  configure: {
28
28
  type: Object,
29
29
  default: () => ({ props: {} })
30
- },
31
- // 是否是在统计表格中配置
32
- isStatistical: {
33
- type: Boolean,
34
- default: false
35
30
  }
36
31
  },
37
32
  setup(__props) {
@@ -45,7 +40,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
45
40
  const notChooseListColumns = ref([]);
46
41
  const selectColumnVisible = ref(false);
47
42
  const treeData = ref([]);
48
- const selectResolv = ref(null);
43
+ ref(null);
49
44
  const checkList = ref([]);
50
45
  const selectNode = ref({});
51
46
  const isSearch = ref(false);
@@ -120,7 +115,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
120
115
  dialogVisible.value = false;
121
116
  } else {
122
117
  form.value.uuid = getUuidv4();
123
- form.value.topLevel = true;
124
118
  if (form.value.displayOrder === void 0 || form.value.displayOrder === null) {
125
119
  setGroupHeaderDataDisplayOrder(form.value.parentUuid, form.value, groupHeaders.value);
126
120
  }
@@ -131,10 +125,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
131
125
  if (!form.value.parentUuid) {
132
126
  treeData.value = getTopGroupHeaderList(groupHeaders.value);
133
127
  } else {
134
- if (selectNode.value) {
135
- selectNode.value.loaded = false;
136
- selectNode.value.expand();
137
- }
128
+ groupTreeRef.value.append(form.value, selectNode.value);
138
129
  }
139
130
  if (isSearch.value) {
140
131
  searchResult();
@@ -215,21 +206,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
215
206
  mobileOff.value = false;
216
207
  }
217
208
  }
218
- function loadFun(node, resolve) {
219
- menuVisible.value = false;
220
- if (!node.data || node.data.columnUuid) {
221
- resolve([]);
222
- } else {
223
- selectResolv.value = resolve;
224
- node.data.uuid;
225
- if (node.data.children && node.data.children.length > 0) {
226
- resolve(node.data.children);
227
- } else {
228
- const topHeaders = getTopGroupHeaderList(groupHeaders.value);
229
- resolve(topHeaders);
230
- }
231
- }
232
- }
233
209
  function openChoiceColumn() {
234
210
  filterNotChooseListColumns();
235
211
  checkList.value = [];
@@ -383,9 +359,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
383
359
  dragNode.value = draggingNode;
384
360
  }
385
361
  function hadleAllowDrop(draggingNode, dropNode, type) {
386
- let canDrop = false;
387
- if (dropNode.data.topLevel) {
388
- canDrop = true;
362
+ let canDrop = true;
363
+ if (dropNode.data.columnUuid && type === "inner") {
364
+ canDrop = false;
389
365
  }
390
366
  return canDrop;
391
367
  }
@@ -489,11 +465,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
489
465
  setGroupHeaderDataDisplayOrder(parentUuid, draggingGroupData, groupHeaders.value);
490
466
  watchChangeGroupHeader();
491
467
  }
492
- const handleDragEnd = (draggingNode, dropNode, dropType, ev) => {
493
- if (props.isStatistical) {
494
- props.configure.props.groupHeaders = treeData.value;
495
- }
496
- };
497
468
  return (_ctx, _cache) => {
498
469
  const _component_el_switch = resolveComponent("el-switch");
499
470
  const _component_el_button = resolveComponent("el-button");
@@ -555,14 +526,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
555
526
  style: { "max-width": "600px" },
556
527
  data: treeData.value,
557
528
  draggable: !isSearch.value,
558
- load: loadFun,
559
529
  props: { isLeaf: "isLeaf", children: "children", label: "titleText" },
560
530
  "node-key": "uuid",
561
- lazy: "",
562
531
  onNodeClick: handleNodeClick,
563
532
  onNodeContextmenu: nodeContextmenu,
564
533
  onNodeDrop: handleDrop,
565
- onNodeDragEnd: handleDragEnd,
566
534
  onNodeDragStart: hadleDragStart,
567
535
  "allow-drop": hadleAllowDrop
568
536
  }, {
@@ -9,7 +9,7 @@ import "uuid";
9
9
  import "../../../../../../stores/page-store.js";
10
10
  import "../../../../../../stores/table-store.js";
11
11
  import "../../../../../../stores/statistics-table-store.js";
12
- import "../../common/common-variable-bind.vue3.js";
12
+ import "../../common/common-variable-bind.vue2.js";
13
13
  import "../../../../utils/eventBus.js";
14
14
  import _sfc_main$1 from "../../common/common-function-code.vue.js";
15
15
  const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
@@ -60,8 +60,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
60
60
  ]),
61
61
  withDirectives(createVNode(_sfc_main$1, {
62
62
  configure: columnData.value,
63
- pageDesign: __props.pageDesign
64
- }, null, 8, ["configure", "pageDesign"]), [
63
+ pageDesign: __props.pageDesign,
64
+ tableConfigure: __props.configure
65
+ }, null, 8, ["configure", "pageDesign", "tableConfigure"]), [
65
66
  [vShow, unref(currentConfigType) === "style"]
66
67
  ]),
67
68
  withDirectives(createVNode(_sfc_main$2, { configure: columnData.value }, null, 8, ["configure"]), [
@@ -7,7 +7,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  props: {
8
8
  configure: Object,
9
9
  // 页面信息
10
- pageDesign: Object
10
+ pageDesign: Object,
11
+ // 表格配置
12
+ tableConfigure: Object
11
13
  },
12
14
  setup(__props) {
13
15
  const props = __props;
@@ -36,7 +38,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
36
38
  }, {
37
39
  default: withCtx(() => [
38
40
  createVNode(_sfc_main$1, {
39
- configure: __props.configure,
41
+ configure: __props.tableConfigure,
40
42
  showField: false,
41
43
  data: __props.configure.style.titleStyle,
42
44
  pageDesign: __props.pageDesign,
@@ -53,7 +55,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
53
55
  default: withCtx(() => [
54
56
  createVNode(_sfc_main$1, {
55
57
  paramTypes: ["data", "task", "page", "request", "row"],
56
- configure: __props.configure,
58
+ configure: __props.tableConfigure,
57
59
  showCondition: true,
58
60
  data: __props.configure.style.cellStyle,
59
61
  pageDesign: __props.pageDesign,
@@ -8,7 +8,7 @@ import http from "agilebuilder-ui/src/utils/request";
8
8
  import { usePageContextStore } from "../../../../../../stores/page-store.js";
9
9
  import "../../../../../../stores/table-store.js";
10
10
  import "../../../../../../stores/statistics-table-store.js";
11
- import "../../common/common-variable-bind.vue3.js";
11
+ import "../../common/common-variable-bind.vue2.js";
12
12
  import _sfc_main$4 from "./data-origin-service-in.vue.js";
13
13
  import { queryTableFields } from "../../../../utils/page-table-util.js";
14
14
  import { getCustomFuncs } from "../../../../utils/page-event-util.js";
@@ -165,7 +165,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
165
165
  onClick: _cache[2] || (_cache[2] = ($event) => dialogVisible.value = false)
166
166
  }, {
167
167
  default: withCtx(() => [
168
- createTextVNode("Cancel")
168
+ createTextVNode("取消")
169
169
  ]),
170
170
  _: 1
171
171
  }),
@@ -174,7 +174,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
174
174
  onClick: _cache[3] || (_cache[3] = ($event) => dialogVisible.value = false)
175
175
  }, {
176
176
  default: withCtx(() => [
177
- createTextVNode(" Confirm ")
177
+ createTextVNode(" 确定 ")
178
178
  ]),
179
179
  _: 1
180
180
  })
@@ -128,6 +128,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
128
128
  const _component_el_input = resolveComponent("el-input");
129
129
  const _component_el_text = resolveComponent("el-text");
130
130
  const _component_el_collapse_item = resolveComponent("el-collapse-item");
131
+ const _component_el_table_column = resolveComponent("el-table-column");
132
+ const _component_Delete = resolveComponent("Delete");
133
+ const _component_el_icon = resolveComponent("el-icon");
134
+ const _component_el_table = resolveComponent("el-table");
131
135
  const _component_el_collapse = resolveComponent("el-collapse");
132
136
  const _component_el_form = resolveComponent("el-form");
133
137
  return openBlock(), createBlock(_component_el_form, {
@@ -259,7 +263,47 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
259
263
  ]),
260
264
  _: 1
261
265
  }),
262
- createVNode(_sfc_main$1, { configure: _ctx.configure }, null, 8, ["configure"])
266
+ createVNode(_sfc_main$1, { configure: _ctx.configure }, null, 8, ["configure"]),
267
+ createVNode(_component_el_collapse_item, {
268
+ title: "图表初始化查询服务",
269
+ name: "pagePermissions",
270
+ class: "amb-design-attr-group-header"
271
+ }, {
272
+ default: withCtx(() => [
273
+ createVNode(_component_el_table, {
274
+ data: _ctx.configure.initChartServiceConfigs,
275
+ style: { "width": "100%", "margin-bottom": "8px" }
276
+ }, {
277
+ default: withCtx(() => [
278
+ createVNode(_component_el_table_column, {
279
+ label: "组件uuid",
280
+ align: "center",
281
+ prop: "uuid"
282
+ }),
283
+ createVNode(_component_el_table_column, {
284
+ label: "操作",
285
+ align: "center"
286
+ }, {
287
+ default: withCtx((scope) => [
288
+ createVNode(_component_el_icon, {
289
+ size: "14",
290
+ style: { "color": "#5893ef", "cursor": "pointer" },
291
+ onClick: ($event) => _ctx.configure.initChartServiceConfigs.splice(scope.$index, 1)
292
+ }, {
293
+ default: withCtx(() => [
294
+ createVNode(_component_Delete)
295
+ ]),
296
+ _: 2
297
+ }, 1032, ["onClick"])
298
+ ]),
299
+ _: 1
300
+ })
301
+ ]),
302
+ _: 1
303
+ }, 8, ["data"])
304
+ ]),
305
+ _: 1
306
+ })
263
307
  ]),
264
308
  _: 1
265
309
  }, 8, ["modelValue"]),
@@ -1,10 +1,11 @@
1
- import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementBlock, toDisplayString, Fragment, renderList, unref, createElementVNode, createTextVNode, createCommentVNode } from "vue";
1
+ import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementBlock, toDisplayString, Fragment, renderList, createCommentVNode, unref, createElementVNode, createTextVNode } from "vue";
2
2
  import { Plus, Minus } from "@element-plus/icons";
3
3
  import "agilebuilder-ui/src/utils/request";
4
4
  import { v4 } from "uuid";
5
5
  const _hoisted_1 = { key: 0 };
6
6
  const _hoisted_2 = { key: 0 };
7
7
  const _hoisted_3 = { key: 0 };
8
+ const _hoisted_4 = { key: 0 };
8
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
10
  __name: "variable-dialog",
10
11
  props: {
@@ -115,6 +116,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
115
116
  const _component_el_input = resolveComponent("el-input");
116
117
  const _component_el_option = resolveComponent("el-option");
117
118
  const _component_el_select = resolveComponent("el-select");
119
+ const _component_el_input_number = resolveComponent("el-input-number");
118
120
  const _component_el_button = resolveComponent("el-button");
119
121
  const _component_el_tooltip = resolveComponent("el-tooltip");
120
122
  const _component_el_dropdown_item = resolveComponent("el-dropdown-item");
@@ -205,6 +207,33 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
205
207
  ]),
206
208
  _: 1
207
209
  }),
210
+ createVNode(_component_el_table_column, {
211
+ prop: "defaultValue",
212
+ width: "130",
213
+ label: "类型"
214
+ }, {
215
+ default: withCtx((scope) => [
216
+ !scope.row.$editing ? (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(scope.row.defaultValue), 1)) : scope.row.type === "string" ? (openBlock(), createBlock(_component_el_input, {
217
+ key: 1,
218
+ modelValue: scope.row.defaultValue,
219
+ "onUpdate:modelValue": ($event) => scope.row.defaultValue = $event,
220
+ placeholder: ""
221
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : scope.row.type === "int" ? (openBlock(), createBlock(_component_el_input_number, {
222
+ key: 2,
223
+ modelValue: scope.row.defaultValue,
224
+ "onUpdate:modelValue": ($event) => scope.row.defaultValue = $event,
225
+ "controls-position": "right",
226
+ placeholder: ""
227
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : scope.row.type === "number" ? (openBlock(), createBlock(_component_el_input, {
228
+ key: 3,
229
+ modelValue: scope.row.defaultValue,
230
+ "onUpdate:modelValue": ($event) => scope.row.defaultValue = $event,
231
+ type: "number",
232
+ placeholder: ""
233
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : createCommentVNode("", true)
234
+ ]),
235
+ _: 1
236
+ }),
208
237
  createVNode(_component_el_table_column, {
209
238
  align: "right",
210
239
  width: 90
@@ -1,7 +1 @@
1
- import _sfc_main from "./config.vue3.js";
2
- import "./config.vue2.js";
3
- import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const config = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-39d5d5cf"]]);
5
- export {
6
- config as default
7
- };
1
+
@@ -1 +1,7 @@
1
-
1
+ import _sfc_main from "./config.vue3.js";
2
+ import "./config.vue.js";
3
+ import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const config = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-39d5d5cf"]]);
5
+ export {
6
+ config as default
7
+ };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, onMounted, onUnmounted, watch, resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, withCtx, withDirectives, vShow, unref, createTextVNode, toDisplayString, Fragment, renderList, createBlock } from "vue";
2
2
  import { ElMessageBox, ElMessage } from "element-plus";
3
- import config from "./config.vue.js";
3
+ import config from "./config.vue2.js";
4
4
  import { standardButtonOperations } from "../../../utils/assemblys-config.js";
5
5
  import { findDesignItemByUuid, getUuidv4, deepCopy } from "../../../utils/common-util.js";
6
6
  import { usePageContextStore } from "../../../../../stores/page-store.js";
@@ -16,7 +16,7 @@ import "@codemirror/autocomplete";
16
16
  import "@codemirror/language";
17
17
  import "@codemirror/search";
18
18
  import "js-beautify";
19
- import "../page-event/config.vue2.js";
19
+ import "../page-event/config.vue.js";
20
20
  import "../../../utils/assemblys-config.js";
21
21
  import "../../../../../stores/page-store.js";
22
22
  import "../../../../../stores/event-undo-redo-store.js";
package/dist/es/style.css CHANGED
@@ -2528,10 +2528,6 @@ fieldset.amb-design-item-selected {
2528
2528
  padding: 10px;
2529
2529
  font-weight: bold;
2530
2530
  }
2531
-
2532
- .el-select__wrapper.is-disabled{
2533
- cursor: default;
2534
- }
2535
2531
  .el-tree-node__content {
2536
2532
  height: 34px !important;
2537
2533
  }
@@ -3150,10 +3146,6 @@ fieldset.amb-design-item-selected {
3150
3146
  padding: 10px;
3151
3147
  font-weight: bold;
3152
3148
  }
3153
-
3154
- .el-switch.is-disabled .el-switch__core, .el-switch.is-disabled .el-switch__label{
3155
- cursor: default;
3156
- }
3157
3149
  .el-tree-node__content {
3158
3150
  height: 34px !important;
3159
3151
  }
@@ -3772,6 +3764,10 @@ fieldset.amb-design-item-selected {
3772
3764
  padding: 10px;
3773
3765
  font-weight: bold;
3774
3766
  }
3767
+
3768
+ .el-select__wrapper.is-disabled{
3769
+ cursor: default;
3770
+ }
3775
3771
  .el-tree-node__content {
3776
3772
  height: 34px !important;
3777
3773
  }
@@ -5008,6 +5004,10 @@ fieldset.amb-design-item-selected {
5008
5004
  padding: 10px;
5009
5005
  font-weight: bold;
5010
5006
  }
5007
+
5008
+ .el-switch.is-disabled .el-switch__core, .el-switch.is-disabled .el-switch__label{
5009
+ cursor: default;
5010
+ }
5011
5011
  .el-tree-node__content {
5012
5012
  height: 34px !important;
5013
5013
  }
@@ -16182,10 +16182,6 @@ fieldset.amb-design-item-selected {
16182
16182
  padding: 10px;
16183
16183
  font-weight: bold;
16184
16184
  }
16185
-
16186
- [data-v-bab42532] .el-form-item__label {
16187
- padding: 0;
16188
- }
16189
16185
  .el-tree-node__content {
16190
16186
  height: 34px !important;
16191
16187
  }
@@ -17473,6 +17469,10 @@ li[data-v-a555cba7] {
17473
17469
  list-style-type: none;
17474
17470
  }
17475
17471
 
17472
+ [data-v-bab42532] .el-form-item__label {
17473
+ padding: 0;
17474
+ }
17475
+
17476
17476
  .amb-design-attr-header[data-v-226997f7] {
17477
17477
  position: sticky;
17478
17478
  position: -webkit-sticky;
@@ -17511,15 +17511,15 @@ li[data-v-a555cba7] {
17511
17511
  padding-bottom: 5px;
17512
17512
  }
17513
17513
 
17514
- [data-v-a4871164] .el-cascader-menu {
17515
- min-width: 120px !important;
17516
- }
17517
-
17518
17514
  .seleteSort[data-v-8aacbe0c] {
17519
17515
  border-radius: 5px;
17520
17516
  border: 1px solid rgba(88, 147, 239);
17521
17517
  }
17522
17518
 
17519
+ [data-v-3528c938] .el-cascader-menu {
17520
+ min-width: 120px !important;
17521
+ }
17522
+
17523
17523
  .editorTool[data-v-39d5d5cf] {
17524
17524
  margin-left: auto;
17525
17525
  }
@@ -17583,18 +17583,10 @@ li[data-v-a555cba7] {
17583
17583
  border: 1px solid rgba(88, 147, 239);
17584
17584
  }
17585
17585
 
17586
- .stateBtn[data-v-ae2798fb]{
17587
- display: flex;
17588
- }
17589
- .stateText[data-v-ae2798fb]{
17590
- margin-left: 10px;
17591
- color: #7b7b7b;
17592
- }
17593
-
17594
- li[data-v-3438f06f] {
17586
+ li[data-v-4fd4369c] {
17595
17587
  color: #333;
17596
17588
  }
17597
- .context-menu[data-v-3438f06f] {
17589
+ .context-menu[data-v-4fd4369c] {
17598
17590
  position: fixed;
17599
17591
  background: #fff;
17600
17592
  z-index: 999;
@@ -17602,7 +17594,7 @@ li[data-v-3438f06f] {
17602
17594
  margin: 0;
17603
17595
  margin-top: 30px;
17604
17596
  }
17605
- .context-menu li[data-v-3438f06f] {
17597
+ .context-menu li[data-v-4fd4369c] {
17606
17598
  min-width: 75px;
17607
17599
  height: 28px;
17608
17600
  line-height: 28px;
@@ -17615,32 +17607,40 @@ li[data-v-3438f06f] {
17615
17607
  /* background: #5893ef;*/
17616
17608
  /* color: #fff;*/
17617
17609
  /*}*/
17618
- .context-menuLi[data-v-3438f06f]:hover {
17610
+ .context-menuLi[data-v-4fd4369c]:hover {
17619
17611
  background: #5893ef;
17620
17612
  color: #fff;
17621
17613
  }
17622
- .context-menu[data-v-3438f06f] {
17614
+ .context-menu[data-v-4fd4369c] {
17623
17615
  border: 1px solid #eee;
17624
17616
  box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
17625
17617
  border-radius: 5px;
17626
17618
  }
17627
- li[data-v-3438f06f] {
17619
+ li[data-v-4fd4369c] {
17628
17620
  list-style-type: none;
17629
17621
  }
17630
17622
 
17631
- .el-tag[data-v-665d3bf4]{
17632
- margin-left: 10px;
17623
+ .stateBtn[data-v-ae2798fb]{
17624
+ display: flex;
17625
+ }
17626
+ .stateText[data-v-ae2798fb]{
17627
+ margin-left: 10px;
17628
+ color: #7b7b7b;
17633
17629
  }
17634
17630
 
17635
- .seleteSort[data-v-c2babae7] {
17636
- border-radius: 5px;
17637
- border: 1px solid rgba(88, 147, 239);
17631
+ .el-tag[data-v-665d3bf4]{
17632
+ margin-left: 10px;
17638
17633
  }
17639
17634
 
17640
17635
  [data-v-1aa6f1ab] .centered-input .el-input__inner {
17641
17636
  text-align: center;
17642
17637
  }
17643
17638
 
17639
+ .seleteSort[data-v-a62867e0] {
17640
+ border-radius: 5px;
17641
+ border: 1px solid rgba(88, 147, 239);
17642
+ }
17643
+
17644
17644
  .row-backgroud-header-tittle[data-v-b203475d]{
17645
17645
  display: flex;
17646
17646
  justify-content: space-between;