super-page-designer 2.1.49 → 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 (72) hide show
  1. package/dist/es/components/design/utils/assemblys-config.js +19 -32
  2. package/dist/es/components/design/utils/chart-design-util.js +17 -0
  3. package/dist/es/components/design/utils/data-table-util.js +26 -28
  4. package/dist/es/components/design/utils/form-design-util.js +0 -1
  5. package/dist/es/components/design/utils/page-service-util.d.ts +2 -2
  6. package/dist/es/components/design/utils/page-service-util.js +7 -5
  7. package/dist/es/components/design/utils/page-table-util.js +33 -10
  8. package/dist/es/components/design/views/assemblys/chart/column-line/column-line-attr.vue2.js +5 -5
  9. package/dist/es/components/design/views/assemblys/chart/common/common-attr-data.vue.js +61 -2
  10. package/dist/es/components/design/views/assemblys/chart/common/common-attr-events.vue.js +22 -0
  11. package/dist/es/components/design/views/assemblys/chart/common/common-attr-events.vue2.js +4 -0
  12. package/dist/es/components/design/views/assemblys/chart/common/common-attr-groupby.vue.js +1 -1
  13. package/dist/es/components/design/views/assemblys/chart/common/common-style-yaxis.vue.js +89 -23
  14. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue.js +7 -1
  15. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/data-origin.vue2.js +706 -0
  16. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/font-style-dialog.vue.js +40 -15
  17. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/row-colmun.vue.js +106 -0
  18. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/row-colmun.vue2.js +4 -0
  19. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/style-table.vue.js +26 -12
  20. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-pageination.vue.js +347 -0
  21. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-pageination.vue2.js +4 -0
  22. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/table-showcondition.vue.js +69 -31
  23. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-advanced.vue.js +15 -7
  24. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-base.vue.js +466 -304
  25. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-attr-style.vue.js +9 -6
  26. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue.js +1 -1
  27. package/dist/es/components/design/views/assemblys/chart/statistical-table/statisticalTable-design.vue2.js +1 -1
  28. package/dist/es/components/design/views/assemblys/common/common-attr-size.vue.js +1 -1
  29. package/dist/es/components/design/views/assemblys/common/common-select-page.vue.js +2 -1
  30. package/dist/es/components/design/views/assemblys/common/common-variable-bind-option.js +4 -4
  31. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.d.ts +9 -0
  32. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue.js +3 -3
  33. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue2.js +1 -738
  34. package/dist/es/components/design/views/assemblys/common/common-variable-bind.vue3.js +738 -1
  35. package/dist/es/components/design/views/assemblys/common/page-permission-select.vue.js +8 -0
  36. package/dist/es/components/design/views/assemblys/common-attr-events.vue.js +2 -2
  37. package/dist/es/components/design/views/assemblys/container/tabs/tabs-design.vue2.js +1 -11
  38. package/dist/es/components/design/views/assemblys/container/tools/tools-design.vue2.js +31 -5
  39. package/dist/es/components/design/views/assemblys/data/component/attr-style.vue.js +46 -52
  40. package/dist/es/components/design/views/assemblys/data/component/composite-header.vue.js +1 -1
  41. package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +16 -28
  42. package/dist/es/components/design/views/assemblys/data/component/data-origin.vue.js +1 -1
  43. package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +9 -2
  44. package/dist/es/components/design/views/assemblys/data/component/formatting-icon-label.vue.js +67 -9
  45. package/dist/es/components/design/views/assemblys/data/component/row-backgroud-color.vue.js +1 -7
  46. package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +23 -9
  47. package/dist/es/components/design/views/assemblys/data/table/table-attr-style.vue.js +7 -2
  48. package/dist/es/components/design/views/assemblys/data/table/table-attr.vue2.js +9 -2
  49. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +1 -1
  50. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue2.js +31 -28
  51. package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-style.vue.js +35 -470
  52. package/dist/es/components/design/views/assemblys/form/common/condition.vue.js +7 -3
  53. package/dist/es/components/design/views/assemblys/form/common/data-format.vue.js +1 -1
  54. package/dist/es/components/design/views/assemblys/form/common/data-linkage.vue.js +2 -2
  55. package/dist/es/components/design/views/assemblys/form/common/hyperlink-mult-config.vue.js +275 -0
  56. package/dist/es/components/design/views/assemblys/form/common/hyperlink-mult-config.vue2.js +4 -0
  57. package/dist/es/components/design/views/assemblys/form/common/suffixmodule.vue.js +16 -9
  58. package/dist/es/components/design/views/assemblys/page/page-attr-advanced.vue.js +49 -2
  59. package/dist/es/components/design/views/assemblys/page/variable-dialog.vue.js +30 -1
  60. package/dist/es/components/design/views/design/page-design.vue.js +1 -1
  61. package/dist/es/components/design/views/design/page-event/config.vue.js +1 -7
  62. package/dist/es/components/design/views/design/page-event/config.vue2.js +7 -1
  63. package/dist/es/components/design/views/design/page-event/config.vue3.js +102 -16
  64. package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +1 -1
  65. package/dist/es/components/design/views/design/view/view-design-display.vue.js +15 -11
  66. package/dist/es/stores/statistics-table-store.js +2 -1
  67. package/dist/es/style.css +115 -115
  68. package/package.json +6 -5
  69. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue.js +0 -205
  70. package/dist/es/components/design/views/assemblys/chart/statistical-table/component/link-table.vue2.js +0 -4
  71. package/dist/es/components/design/views/assemblys/data/component/row-backgroud-color.vue2.js +0 -78
  72. /package/dist/es/components/design/views/assemblys/{data/component/row-backgroud-color.vue3.js → chart/statistical-table/component/data-origin.vue3.js} +0 -0
@@ -1,13 +1,14 @@
1
1
  import { defineComponent, ref, onMounted, resolveComponent, openBlock, createElementBlock, createElementVNode, createTextVNode, createVNode, withCtx, unref, normalizeStyle, pushScopeId, popScopeId } from "vue";
2
2
  import { useLocalStorage } from "@vueuse/core";
3
- import { Search } from "@element-plus/icons-vue";
3
+ import { Search, MagicStick } from "@element-plus/icons-vue";
4
4
  import { EditorView, basicSetup } from "codemirror";
5
5
  import { javascriptLanguage, javascript } from "@codemirror/lang-javascript";
6
6
  import { EditorState } from "@codemirror/state";
7
7
  import "@codemirror/autocomplete";
8
8
  import "@codemirror/language";
9
9
  import { openSearchPanel } from "@codemirror/search";
10
- const _withScopeId = (n) => (pushScopeId("data-v-26f79956"), n = n(), popScopeId(), n);
10
+ import beautify from "js-beautify";
11
+ const _withScopeId = (n) => (pushScopeId("data-v-39d5d5cf"), n = n(), popScopeId(), n);
11
12
  const _hoisted_1 = {
12
13
  style: { "padding": "8px 16px", "margin": "10px 0px", "background-color": "#f4f4f5" },
13
14
  class: "pppp"
@@ -102,13 +103,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
102
103
  return EditorView.theme({});
103
104
  }
104
105
  function updateJsContent(newEvent) {
106
+ var _a;
105
107
  const hisValue = props.eventForm.jsContent ? props.eventForm.jsContent : "";
106
108
  if (newEvent && props.eventForm) {
107
109
  if (!newEvent.jsContent) {
108
110
  newEvent.jsContent = "";
109
111
  }
110
112
  Object.assign(props.eventForm, newEvent);
111
- editor.value.dispatch({
113
+ (_a = editor.value) == null ? void 0 : _a.dispatch({
112
114
  changes: { from: 0, to: hisValue.length, insert: props.eventForm.jsContent }
113
115
  });
114
116
  }
@@ -117,15 +119,50 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
117
119
  const state = getEditorState();
118
120
  editor.value = new EditorView({
119
121
  state,
120
- parent: document.getElementById("cf-codemirror")
122
+ parent: document.getElementById("cf-codemirror") || void 0
121
123
  });
122
124
  }
123
125
  function myCompletions(context) {
124
- let word = context.matchBefore(/\w*|logicContext\./);
126
+ let word = context.matchBefore(/\w*|window\.\$PageUtil\.|window\.|logicContext\./);
125
127
  if (word) {
126
- if (word.from == word.to && !context.explicit)
127
- return null;
128
- if ((word == null ? void 0 : word.text) === "logicContext.") {
128
+ if ((word == null ? void 0 : word.text) === "window.") {
129
+ return {
130
+ from: word.from,
131
+ options: [
132
+ { label: "window.$PageUtil()", type: "property", info: "页面工具方法" },
133
+ { label: "window.$message()", type: "property", info: "提示信息" },
134
+ { label: "window.$http()", type: "property", info: "接口调用" }
135
+ ]
136
+ };
137
+ } else if ((word == null ? void 0 : word.text) === "window.$PageUtil.") {
138
+ return {
139
+ from: word.from,
140
+ options: [
141
+ { label: "window.$PageUtil.standardEvents", type: "function", info: "显示方法" },
142
+ { label: "window.$PageUtil.showElement()", type: "function", info: "显示页面中的某个组件元素" },
143
+ { label: "window.$PageUtil.hideElement()", type: "function", info: "隐藏页面中的某个组件元素" },
144
+ { label: "window.$PageUtil.enableElement()", type: "function", info: "设置组件元素可用状态" },
145
+ { label: "window.$PageUtil.disableElement()", type: "function", info: "禁用页面中的某个组件元素" },
146
+ { label: "window.$PageUtil.setEntityDataValue()", type: "function", info: "设置Data值" },
147
+ { label: "window.$PageUtil.setEntityPageValue()", type: "function", info: "设置页面变量值" },
148
+ { label: "window.$PageUtil.setEntityValueByType()", type: "function", info: "根据类型设置值" },
149
+ { label: "window.$PageUtil.dsiabledAllFields()", type: "function", info: "禁用所有字段" },
150
+ { label: "window.$PageUtil.dynamicControlFormEdit()", type: "function", info: "表单编辑权限动态控制" },
151
+ { label: "window.$PageUtil.dynamicControlTableEdit()", type: "function", info: "控制表格编辑权限" },
152
+ { label: "window.$PageUtil.openPage()", type: "function", info: "打开页面" },
153
+ { label: "window.$PageUtil.refreshPage()", type: "function", info: "刷新页面" },
154
+ { label: "window.$PageUtil.refreshSubTableHandle()", type: "function", info: "刷新表单中子表内容" },
155
+ { label: "window.$PageUtil.refreshChildData()", type: "function", info: "对外开放的api方法更新子表集合" },
156
+ {
157
+ label: "window.$PageUtil.getServerConfigValue()",
158
+ type: "function",
159
+ info: "根据key获得serverConfig中配置的信息"
160
+ },
161
+ { label: "window.$PageUtil.getBackendUrl()", type: "function", info: "获得当前系统的后端访问路径" },
162
+ { label: "window.$PageUtil.getPlateBackendUrl()", type: "function", info: "获得平台后端访问路径" }
163
+ ]
164
+ };
165
+ } else if ((word == null ? void 0 : word.text) === "logicContext.") {
129
166
  return {
130
167
  from: word.from,
131
168
  options: [
@@ -137,25 +174,55 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
137
174
  { label: "logicContext.data", type: "property", info: "数据模型变量" }
138
175
  ]
139
176
  };
140
- } else {
141
- return {
142
- from: word.from,
143
- options: [{ label: "logicContext", type: "property" }]
144
- };
145
177
  }
146
- } else {
147
- return null;
148
178
  }
179
+ return null;
149
180
  }
150
181
  function openSearch() {
151
182
  if (editor.value) {
152
183
  editor.value.focus();
153
184
  let newState = openSearchPanel(editor.value);
154
185
  if (newState) {
155
- editor.value.update([transaction]);
186
+ editor.value.update([]);
156
187
  }
157
188
  }
158
189
  }
190
+ function formatCode() {
191
+ if (editor.value) {
192
+ const code = beautify.js(props.eventForm.jsContent, {
193
+ indent_level: 0,
194
+ indent_size: 2,
195
+ // 每级缩进的空格数
196
+ space_in_empty_paren: false,
197
+ // 是否在空括号内加空格
198
+ max_preserve_newlines: 2,
199
+ // 最多保留的换行数
200
+ preserve_newlines: true,
201
+ // 是否保留原有的换行
202
+ jslint_happy: false,
203
+ // 是否遵循 JSLint 的风格
204
+ keep_array_indentation: false,
205
+ // 是否保持数组的缩进
206
+ keep_function_indentation: false,
207
+ // 是否保持函数的缩进
208
+ space_before_conditional: true,
209
+ // 在条件语句前是否加空格
210
+ break_chained_methods: false,
211
+ // 是否断开链式调用
212
+ eval_code: false,
213
+ // 是否格式化 eval 代码
214
+ unescape_strings: false,
215
+ // 是否取消转义字符串中的特殊字符
216
+ wrap_line_length: 0,
217
+ // 每行的最大长度
218
+ end_with_newline: false
219
+ // 是否以新行结束
220
+ });
221
+ editor.value.dispatch({
222
+ changes: { from: 0, to: props.eventForm.jsContent.length, insert: code }
223
+ });
224
+ }
225
+ }
159
226
  __expose({ resize, updateJsContent });
160
227
  return (_ctx, _cache) => {
161
228
  const _component_el_input = resolveComponent("el-input");
@@ -318,6 +385,25 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
318
385
  })
319
386
  ]),
320
387
  _: 1
388
+ }),
389
+ createVNode(_component_el_tooltip, {
390
+ class: "box-item",
391
+ effect: "dark",
392
+ content: "格式化代码",
393
+ placement: "top"
394
+ }, {
395
+ default: withCtx(() => [
396
+ createVNode(_component_el_icon, {
397
+ class: "editorOption",
398
+ onClick: formatCode
399
+ }, {
400
+ default: withCtx(() => [
401
+ createVNode(unref(MagicStick))
402
+ ]),
403
+ _: 1
404
+ })
405
+ ]),
406
+ _: 1
321
407
  })
322
408
  ]),
323
409
  createElementVNode("div", {
@@ -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";
@@ -15,7 +15,8 @@ import "@codemirror/state";
15
15
  import "@codemirror/autocomplete";
16
16
  import "@codemirror/language";
17
17
  import "@codemirror/search";
18
- import "../page-event/config.vue2.js";
18
+ import "js-beautify";
19
+ import "../page-event/config.vue.js";
19
20
  import "../../../utils/assemblys-config.js";
20
21
  import "../../../../../stores/page-store.js";
21
22
  import "../../../../../stores/event-undo-redo-store.js";
@@ -163,16 +164,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
163
164
  function saveForm() {
164
165
  const configureCopy = JSON.parse(JSON.stringify(props.configure));
165
166
  configureCopy.tableRuntimes = {};
166
- if (configureCopy.tableUuids) {
167
- configureCopy.tableUuids = configureCopy.tableUuids.filter((tableUuid) => {
168
- const table = findDesignItemByUuid(configureCopy, tableUuid);
169
- if (table) {
170
- setTableRuntimesFromConfigure(table, configureCopy);
171
- return true;
172
- }
173
- return false;
174
- });
175
- }
167
+ beforeSaveForm(configureCopy);
176
168
  http.post(window["$vueApp"].config.globalProperties.baseAPI + "/component/super-page-design/save", {
177
169
  id: props.configure.id,
178
170
  designJson: JSON.stringify(configureCopy)
@@ -268,6 +260,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
268
260
  var _a;
269
261
  (_a = i18nSettingRef.value) == null ? void 0 : _a.show();
270
262
  }
263
+ function beforeSaveForm(configureCopy) {
264
+ if (configureCopy.tableUuids) {
265
+ configureCopy.tableUuids = configureCopy.tableUuids.filter((tableUuid) => {
266
+ const table = findDesignItemByUuid(configureCopy, tableUuid);
267
+ if (table) {
268
+ setTableRuntimesFromConfigure(table, configureCopy);
269
+ return true;
270
+ }
271
+ return false;
272
+ });
273
+ }
274
+ }
271
275
  __expose({ onSelectEvent, addEvent, changeEvent });
272
276
  return (_ctx, _cache) => {
273
277
  const _component_el_icon = resolveComponent("el-icon");
@@ -8,7 +8,8 @@ const statisticsTable = defineStore("statisticsTable", () => {
8
8
  arr.push({
9
9
  value: item.props.base.prop,
10
10
  label: item.props.base.name,
11
- alias: item.props.base.name
11
+ alias: item.props.base.name,
12
+ dataType: item.props.base.dataType
12
13
  });
13
14
  });
14
15
  columnList.value = arr;
package/dist/es/style.css CHANGED
@@ -1292,10 +1292,6 @@ fieldset.amb-design-item-selected {
1292
1292
  padding: 10px;
1293
1293
  font-weight: bold;
1294
1294
  }
1295
-
1296
- .el-select__wrapper.is-disabled{
1297
- cursor: default;
1298
- }
1299
1295
  .el-tree-node__content {
1300
1296
  height: 34px !important;
1301
1297
  }
@@ -3768,6 +3764,10 @@ fieldset.amb-design-item-selected {
3768
3764
  padding: 10px;
3769
3765
  font-weight: bold;
3770
3766
  }
3767
+
3768
+ .el-select__wrapper.is-disabled{
3769
+ cursor: default;
3770
+ }
3771
3771
  .el-tree-node__content {
3772
3772
  height: 34px !important;
3773
3773
  }
@@ -4386,10 +4386,6 @@ fieldset.amb-design-item-selected {
4386
4386
  padding: 10px;
4387
4387
  font-weight: bold;
4388
4388
  }
4389
-
4390
- .el-switch.is-disabled .el-switch__core, .el-switch.is-disabled .el-switch__label{
4391
- cursor: default;
4392
- }
4393
4389
  .el-tree-node__content {
4394
4390
  height: 34px !important;
4395
4391
  }
@@ -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
  }
@@ -9334,56 +9334,6 @@ fieldset.amb-design-item-selected {
9334
9334
  padding: 10px;
9335
9335
  font-weight: bold;
9336
9336
  }
9337
-
9338
- /*不显示列样式*/
9339
- .hiddenBorder {
9340
- border-right: solid 1px #ebebeb !important;
9341
- border-left: solid 1px #ebebeb !important;
9342
- background-color: #ebebeb !important;
9343
- }
9344
- /*选中列样式*/
9345
- .addBorder {
9346
- border-right: solid 1px #5893ef !important;
9347
- border-left: solid 1px #5893ef !important;
9348
- background-color: #5893ef !important;
9349
- color: #ffffff;
9350
- }
9351
- .ghost {
9352
- opacity: 0.5;
9353
- background: #c8ebfb;
9354
- }
9355
-
9356
- li[data-v-5581ec9f] {
9357
- color: #333;
9358
- }
9359
- .context-menu[data-v-5581ec9f] {
9360
- position: fixed;
9361
- background: #fff;
9362
- z-index: 999;
9363
- padding: 5px;
9364
- margin: 0;
9365
- margin-top: 30px;
9366
- }
9367
- .context-menu li[data-v-5581ec9f] {
9368
- min-width: 75px;
9369
- height: 28px;
9370
- line-height: 28px;
9371
- text-align: left;
9372
- color: #1a1a1a;
9373
- cursor: pointer;
9374
- }
9375
- .context-menu li[data-v-5581ec9f]:hover {
9376
- background: #5893ef;
9377
- color: #fff;
9378
- }
9379
- .context-menu[data-v-5581ec9f] {
9380
- border: 1px solid #eee;
9381
- box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
9382
- border-radius: 5px;
9383
- }
9384
- li[data-v-5581ec9f] {
9385
- list-style-type: none;
9386
- }
9387
9337
  .el-tree-node__content {
9388
9338
  height: 34px !important;
9389
9339
  }
@@ -10002,6 +9952,56 @@ fieldset.amb-design-item-selected {
10002
9952
  padding: 10px;
10003
9953
  font-weight: bold;
10004
9954
  }
9955
+
9956
+ /*不显示列样式*/
9957
+ .hiddenBorder {
9958
+ border-right: solid 1px #ebebeb !important;
9959
+ border-left: solid 1px #ebebeb !important;
9960
+ background-color: #ebebeb !important;
9961
+ }
9962
+ /*选中列样式*/
9963
+ .addBorder {
9964
+ border-right: solid 1px #5893ef !important;
9965
+ border-left: solid 1px #5893ef !important;
9966
+ background-color: #5893ef !important;
9967
+ color: #ffffff;
9968
+ }
9969
+ .ghost {
9970
+ opacity: 0.5;
9971
+ background: #c8ebfb;
9972
+ }
9973
+
9974
+ li[data-v-5581ec9f] {
9975
+ color: #333;
9976
+ }
9977
+ .context-menu[data-v-5581ec9f] {
9978
+ position: fixed;
9979
+ background: #fff;
9980
+ z-index: 999;
9981
+ padding: 5px;
9982
+ margin: 0;
9983
+ margin-top: 30px;
9984
+ }
9985
+ .context-menu li[data-v-5581ec9f] {
9986
+ min-width: 75px;
9987
+ height: 28px;
9988
+ line-height: 28px;
9989
+ text-align: left;
9990
+ color: #1a1a1a;
9991
+ cursor: pointer;
9992
+ }
9993
+ .context-menu li[data-v-5581ec9f]:hover {
9994
+ background: #5893ef;
9995
+ color: #fff;
9996
+ }
9997
+ .context-menu[data-v-5581ec9f] {
9998
+ border: 1px solid #eee;
9999
+ box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
10000
+ border-radius: 5px;
10001
+ }
10002
+ li[data-v-5581ec9f] {
10003
+ list-style-type: none;
10004
+ }
10005
10005
  .el-tree-node__content {
10006
10006
  height: 34px !important;
10007
10007
  }
@@ -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
  }
@@ -17441,10 +17437,10 @@ fieldset.amb-design-item-selected {
17441
17437
  background: #c8ebfb;
17442
17438
  }
17443
17439
 
17444
- li[data-v-a74e7ce8] {
17440
+ li[data-v-a555cba7] {
17445
17441
  color: #333;
17446
17442
  }
17447
- .context-menu[data-v-a74e7ce8] {
17443
+ .context-menu[data-v-a555cba7] {
17448
17444
  position: fixed;
17449
17445
  background: #fff;
17450
17446
  z-index: 999;
@@ -17452,7 +17448,7 @@ li[data-v-a74e7ce8] {
17452
17448
  margin: 0;
17453
17449
  margin-top: 30px;
17454
17450
  }
17455
- .context-menu li[data-v-a74e7ce8] {
17451
+ .context-menu li[data-v-a555cba7] {
17456
17452
  min-width: 75px;
17457
17453
  height: 28px;
17458
17454
  line-height: 28px;
@@ -17460,19 +17456,23 @@ li[data-v-a74e7ce8] {
17460
17456
  color: #1a1a1a;
17461
17457
  cursor: pointer;
17462
17458
  }
17463
- .context-menu li[data-v-a74e7ce8]:hover {
17459
+ .context-menu li[data-v-a555cba7]:hover {
17464
17460
  background: #5893ef;
17465
17461
  color: #fff;
17466
17462
  }
17467
- .context-menu[data-v-a74e7ce8] {
17463
+ .context-menu[data-v-a555cba7] {
17468
17464
  border: 1px solid #eee;
17469
17465
  box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
17470
17466
  border-radius: 5px;
17471
17467
  }
17472
- li[data-v-a74e7ce8] {
17468
+ 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;
@@ -17499,7 +17499,7 @@ li[data-v-a74e7ce8] {
17499
17499
  color: #ffffff;
17500
17500
  }
17501
17501
 
17502
- .seleteSort[data-v-931f64e3] {
17502
+ .seleteSort[data-v-727aa6f0] {
17503
17503
  border-radius: 5px;
17504
17504
  border: 1px solid rgba(88, 147, 239);
17505
17505
  }
@@ -17511,6 +17511,28 @@ li[data-v-a74e7ce8] {
17511
17511
  padding-bottom: 5px;
17512
17512
  }
17513
17513
 
17514
+ .seleteSort[data-v-8aacbe0c] {
17515
+ border-radius: 5px;
17516
+ border: 1px solid rgba(88, 147, 239);
17517
+ }
17518
+
17519
+ [data-v-3528c938] .el-cascader-menu {
17520
+ min-width: 120px !important;
17521
+ }
17522
+
17523
+ .editorTool[data-v-39d5d5cf] {
17524
+ margin-left: auto;
17525
+ }
17526
+ .editorOption[data-v-39d5d5cf] {
17527
+ margin-right: 10px;
17528
+ cursor: pointer;
17529
+ }
17530
+ .pppp[data-v-39d5d5cf] {
17531
+ display: flex; /* 使用Flex布局 */
17532
+ justify-content: flex-start;
17533
+ align-items: center; /* 子元素在交叉轴(垂直方向)上居中对齐 */
17534
+ }
17535
+
17514
17536
  .icon-set-center-body[data-v-181d1ce8]{
17515
17537
  display: grid;
17516
17538
  grid-template-columns:repeat(5,1fr);
@@ -17548,28 +17570,6 @@ li[data-v-a74e7ce8] {
17548
17570
  margin-bottom: 20px;
17549
17571
  }
17550
17572
 
17551
- [data-v-8d11abea] .el-cascader-menu {
17552
- min-width: 120px !important;
17553
- }
17554
-
17555
- .editorTool[data-v-26f79956] {
17556
- margin-left: auto;
17557
- }
17558
- .editorOption[data-v-26f79956] {
17559
- margin-right: 10px;
17560
- cursor: pointer;
17561
- }
17562
- .pppp[data-v-26f79956] {
17563
- display: flex; /* 使用Flex布局 */
17564
- justify-content: flex-start;
17565
- align-items: center; /* 子元素在交叉轴(垂直方向)上居中对齐 */
17566
- }
17567
-
17568
- .seleteSort[data-v-8aacbe0c] {
17569
- border-radius: 5px;
17570
- border: 1px solid rgba(88, 147, 239);
17571
- }
17572
-
17573
17573
  .seleteSort[data-v-1dada466] {
17574
17574
  border-radius: 5px;
17575
17575
  border: 1px solid rgba(88, 147, 239);
@@ -17578,18 +17578,15 @@ li[data-v-a74e7ce8] {
17578
17578
  display: inline-block;
17579
17579
  }
17580
17580
 
17581
- .stateBtn[data-v-ae2798fb]{
17582
- display: flex;
17583
- }
17584
- .stateText[data-v-ae2798fb]{
17585
- margin-left: 10px;
17586
- color: #7b7b7b;
17581
+ .seleteSort[data-v-3336d6c5] {
17582
+ border-radius: 5px;
17583
+ border: 1px solid rgba(88, 147, 239);
17587
17584
  }
17588
17585
 
17589
- li[data-v-74ebe0ac] {
17586
+ li[data-v-4fd4369c] {
17590
17587
  color: #333;
17591
17588
  }
17592
- .context-menu[data-v-74ebe0ac] {
17589
+ .context-menu[data-v-4fd4369c] {
17593
17590
  position: fixed;
17594
17591
  background: #fff;
17595
17592
  z-index: 999;
@@ -17597,7 +17594,7 @@ li[data-v-74ebe0ac] {
17597
17594
  margin: 0;
17598
17595
  margin-top: 30px;
17599
17596
  }
17600
- .context-menu li[data-v-74ebe0ac] {
17597
+ .context-menu li[data-v-4fd4369c] {
17601
17598
  min-width: 75px;
17602
17599
  height: 28px;
17603
17600
  line-height: 28px;
@@ -17610,44 +17607,47 @@ li[data-v-74ebe0ac] {
17610
17607
  /* background: #5893ef;*/
17611
17608
  /* color: #fff;*/
17612
17609
  /*}*/
17613
- .context-menuLi[data-v-74ebe0ac]:hover {
17610
+ .context-menuLi[data-v-4fd4369c]:hover {
17614
17611
  background: #5893ef;
17615
17612
  color: #fff;
17616
17613
  }
17617
- .context-menu[data-v-74ebe0ac] {
17614
+ .context-menu[data-v-4fd4369c] {
17618
17615
  border: 1px solid #eee;
17619
17616
  box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
17620
17617
  border-radius: 5px;
17621
17618
  }
17622
- li[data-v-74ebe0ac] {
17619
+ li[data-v-4fd4369c] {
17623
17620
  list-style-type: none;
17624
17621
  }
17625
17622
 
17626
- .row-backgroud-header-tittle[data-v-b203475d]{
17627
- display: flex;
17628
- justify-content: space-between;
17629
- text-align: center
17623
+ .stateBtn[data-v-ae2798fb]{
17624
+ display: flex;
17630
17625
  }
17631
- .row-backgroud-header-tittle > div[data-v-b203475d]{
17632
- width: 100%
17626
+ .stateText[data-v-ae2798fb]{
17627
+ margin-left: 10px;
17628
+ color: #7b7b7b;
17633
17629
  }
17634
17630
 
17635
17631
  .el-tag[data-v-665d3bf4]{
17636
17632
  margin-left: 10px;
17637
17633
  }
17638
17634
 
17639
- .seleteSort[data-v-a8c75465] {
17640
- border-radius: 5px;
17641
- border: 1px solid rgba(88, 147, 239);
17635
+ [data-v-1aa6f1ab] .centered-input .el-input__inner {
17636
+ text-align: center;
17642
17637
  }
17643
17638
 
17644
- .seleteSort[data-v-ccdcf268] {
17639
+ .seleteSort[data-v-a62867e0] {
17645
17640
  border-radius: 5px;
17646
17641
  border: 1px solid rgba(88, 147, 239);
17647
17642
  }
17648
17643
 
17649
- [data-v-1aa6f1ab] .centered-input .el-input__inner {
17650
- text-align: center;
17644
+ .row-backgroud-header-tittle[data-v-b203475d]{
17645
+ display: flex;
17646
+ justify-content: space-between;
17647
+ text-align: center
17648
+ }
17649
+ .row-backgroud-header-tittle > div[data-v-b203475d]{
17650
+ width: 100%
17651
17651
  }
17652
17652
 
17653
17653
  .input-with-select .el-input-group__append {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "super-page-designer",
3
- "version": "2.1.49",
3
+ "version": "2.1.55",
4
4
  "description": "AgileBuilder super page designer",
5
5
  "license": "ISC",
6
6
  "main": "dist/es/index.js",
@@ -28,18 +28,19 @@
28
28
  "@logicflow/layout": "1.2.0-alpha.16",
29
29
  "@vitejs/plugin-vue": "^5.0.4",
30
30
  "@vueuse/core": "^10.9.0",
31
- "agilebuilder-ui": "1.0.83",
31
+ "agilebuilder-ui": "1.0.87",
32
32
  "echarts": "^5.5.0",
33
33
  "element-plus": "^2.6.1",
34
34
  "font-awesome": "^4.7.0",
35
+ "js-beautify": "^1.15.1",
35
36
  "jsbarcode": "^3.11.6",
36
37
  "mitt": "^3.0.1",
37
38
  "nprogress": "^0.2.0",
38
39
  "pinia": "^2.1.7",
39
40
  "qrcode": "^1.5.3",
40
41
  "quill": "^2.0.1",
41
- "service-flow-designer": "2.1.46",
42
- "super-page-runtime": "2.1.48",
42
+ "service-flow-designer": "2.1.53",
43
+ "super-page-runtime": "2.1.54",
43
44
  "uuid": "^9.0.1",
44
45
  "vite": "^5.1.6",
45
46
  "vite-plugin-node-stdlib-browser": "^0.2.1",
@@ -50,7 +51,7 @@
50
51
  "vue-echarts": "^6.6.9",
51
52
  "vue-router": "^4.3.0",
52
53
  "vuex": "^4.1.0",
53
- "workflow-editor": "0.0.44-up"
54
+ "workflow-editor": "0.0.45-up"
54
55
  },
55
56
  "devDependencies": {
56
57
  "@codemirror/autocomplete": "^6.16.0",