super-page-designer 2.0.54 → 2.0.58

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.
@@ -596,6 +596,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
596
596
  "onUpdate:modelValue": ($event) => scope.row.props.base.listColumnFixed = $event
597
597
  }, {
598
598
  default: withCtx(() => [
599
+ createVNode(_component_el_option, { value: "false" }, {
600
+ default: withCtx(() => [
601
+ createTextVNode("否")
602
+ ]),
603
+ _: 1
604
+ }),
599
605
  createVNode(_component_el_option, { value: "left" }, {
600
606
  default: withCtx(() => [
601
607
  createTextVNode("居左")
@@ -143,7 +143,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
143
143
  const _component_el_checkbox = resolveComponent("el-checkbox");
144
144
  const _component_el_table_column = resolveComponent("el-table-column");
145
145
  return openBlock(), createBlock(_component_el_table_column, {
146
- fixed: false,
146
+ fixed: __props.listColumns.props.base.listColumnFixed === "false" ? false : __props.listColumns.props.base.listColumnFixed,
147
147
  "column-key": __props.listColumns.uuid,
148
148
  width: __props.listColumns.props && __props.listColumns.props.base && __props.listColumns.props.base.columnWidth ? __props.listColumns.props.base.columnWidth : 200,
149
149
  label: getTableHeaderName(__props.listColumns),
@@ -222,7 +222,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
222
222
  ]),
223
223
  key: "1"
224
224
  } : void 0
225
- ]), 1032, ["column-key", "width", "label", "align", "header-align"]);
225
+ ]), 1032, ["fixed", "column-key", "width", "label", "align", "header-align"]);
226
226
  };
227
227
  }
228
228
  });
@@ -8,7 +8,7 @@ import "agilebuilder-ui/src/utils/request";
8
8
  import "uuid";
9
9
  import "../../../../../../stores/page-store.js";
10
10
  import "../../../../../../stores/table-store.js";
11
- import "../../common/common-variable-bind.vue2.js";
11
+ import "../../common/common-variable-bind.vue3.js";
12
12
  import "../../../../utils/eventBus.js";
13
13
  import _sfc_main$1 from "../../common/common-function-code.vue.js";
14
14
  const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
@@ -2,7 +2,7 @@ import _sfc_main from "./table-design.vue2.js";
2
2
  import "./table-design.vue3.js";
3
3
  import "./table-design.vue4.js";
4
4
  import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
5
- const tableDesign = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8cf7f2d0"]]);
5
+ const tableDesign = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-20ea5d48"]]);
6
6
  export {
7
7
  tableDesign as default
8
8
  };
@@ -196,13 +196,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
196
196
  eventBus.$emit("synchroGroupHeadersData");
197
197
  }
198
198
  } else if (type === "deleteNode") {
199
- ElMessageBox.confirm("当前操作会删除当前列", "Warning", {
199
+ ElMessageBox.confirm("当前操作会删除当前列", "确认", {
200
200
  confirmButtonText: "确定",
201
201
  cancelButtonText: "取消",
202
202
  type: "warning"
203
203
  }).then(() => {
204
- console.log("%c描述-173127", "color:#2E3435;background:#F8BB07;padding:3px;border-radius:2px", props.configure.props);
204
+ console.log(
205
+ "%c描述-173127",
206
+ "color:#2E3435;background:#F8BB07;padding:3px;border-radius:2px",
207
+ props.configure.props
208
+ );
205
209
  console.log("%c描述-173140", "color:#2E3435;background:#F8BB07;padding:3px;border-radius:2px", columnData.value);
210
+ props.configure.items.splice(columnDataIndex.value, 1);
206
211
  }).catch(() => {
207
212
  });
208
213
  }
@@ -144,6 +144,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
144
144
  if (!val) {
145
145
  props.configure.props.base.defaultValue = "";
146
146
  props.configure.name = "";
147
+ } else {
148
+ props.tableConfigure.props.base.editable = true;
147
149
  }
148
150
  }
149
151
  function propDataOriginField(fieldList) {
@@ -7,7 +7,7 @@ import "@element-plus/icons-vue";
7
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
- import "../../common/common-variable-bind.vue2.js";
10
+ import "../../common/common-variable-bind.vue3.js";
11
11
  import _sfc_main$4 from "./data-origin-service-in.vue.js";
12
12
  import { queryTableFields } from "../../../../utils/page-table-util.js";
13
13
  import { getCustomFuncs } from "../../../../utils/page-event-util.js";
@@ -50,6 +50,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
50
50
  function afterBindDeptScopeField(modelValue) {
51
51
  props.configure.props.base.deptScopeField = modelValue;
52
52
  }
53
+ function setValue(model, value) {
54
+ props.configure.props.base.deptScopeDepts = value;
55
+ }
53
56
  return (_ctx, _cache) => {
54
57
  const _component_el_option = resolveComponent("el-option");
55
58
  const _component_el_select = resolveComponent("el-select");
@@ -409,15 +412,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
409
412
  default: withCtx(() => [
410
413
  createVNode(unref(OrganizationInput), {
411
414
  disabled: __props.configure.props.base.deptScope != "depts",
412
- multiple: "true",
413
- modelValue: __props.configure.props.base.deptScopeDepts,
414
- "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => __props.configure.props.base.deptScopeDepts = $event),
415
+ multiple: true,
416
+ treeType: "DeptTree",
417
+ value: __props.configure.props.base.deptScopeDepts,
418
+ "onUpdate:value": _cache[10] || (_cache[10] = ($event) => __props.configure.props.base.deptScopeDepts = $event),
415
419
  models: __props.configure.props.base,
416
420
  fields: [{ type: "code", model: "deptScopeCodes" }],
417
421
  size: "small",
418
422
  placeholder: "请选择",
419
- separator: ","
420
- }, null, 8, ["disabled", "modelValue", "models"])
423
+ separator: ",",
424
+ onSetValue: setValue
425
+ }, null, 8, ["disabled", "value", "models"])
421
426
  ]),
422
427
  _: 1
423
428
  })
@@ -53,6 +53,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
53
53
  tempProps.autoSetFields = fields;
54
54
  Object.assign(designProperty.value, tempProps);
55
55
  }
56
+ function setValue(model, value) {
57
+ tempModels.value = value;
58
+ }
56
59
  watch(
57
60
  props.configure.style,
58
61
  () => {
@@ -100,13 +103,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
100
103
  multiple: designProperty.value.multiple,
101
104
  treeType: designProperty.value.treeType,
102
105
  size: designProperty.value.size,
103
- modelValue: tempModels.value.value,
104
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => tempModels.value.value = $event),
106
+ value: tempModels.value.value,
107
+ "onUpdate:value": _cache[0] || (_cache[0] = ($event) => tempModels.value.value = $event),
105
108
  models: tempModels.value,
106
109
  fields: [],
107
110
  placeholder: "请选择",
108
- separator: ","
109
- }, null, 8, ["disabled", "multiple", "treeType", "size", "modelValue", "models"])
111
+ separator: ",",
112
+ onSetValue: setValue
113
+ }, null, 8, ["disabled", "multiple", "treeType", "size", "value", "models"])
110
114
  ]),
111
115
  _: 1
112
116
  }, 8, ["required", "class", "label-width", "style"]);
package/dist/es/style.css CHANGED
@@ -8722,6 +8722,56 @@ fieldset.amb-design-item-selected {
8722
8722
  padding: 10px;
8723
8723
  font-weight: bold;
8724
8724
  }
8725
+
8726
+ /*不显示列样式*/
8727
+ .hiddenBorder {
8728
+ border-right: solid 1px #ebebeb !important;
8729
+ border-left: solid 1px #ebebeb !important;
8730
+ background-color: #ebebeb !important;
8731
+ }
8732
+ /*选中列样式*/
8733
+ .addBorder {
8734
+ border-right: solid 1px #5893ef !important;
8735
+ border-left: solid 1px #5893ef !important;
8736
+ background-color: #5893ef !important;
8737
+ color: #ffffff;
8738
+ }
8739
+ .ghost {
8740
+ opacity: 0.5;
8741
+ background: #c8ebfb;
8742
+ }
8743
+
8744
+ li[data-v-20ea5d48] {
8745
+ color: #333;
8746
+ }
8747
+ .context-menu[data-v-20ea5d48] {
8748
+ position: fixed;
8749
+ background: #fff;
8750
+ z-index: 999;
8751
+ padding: 5px;
8752
+ margin: 0;
8753
+ margin-top: 30px;
8754
+ }
8755
+ .context-menu li[data-v-20ea5d48] {
8756
+ min-width: 75px;
8757
+ height: 28px;
8758
+ line-height: 28px;
8759
+ text-align: left;
8760
+ color: #1a1a1a;
8761
+ cursor: pointer;
8762
+ }
8763
+ .context-menu li[data-v-20ea5d48]:hover {
8764
+ background: #5893ef;
8765
+ color: #fff;
8766
+ }
8767
+ .context-menu[data-v-20ea5d48] {
8768
+ border: 1px solid #eee;
8769
+ box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
8770
+ border-radius: 5px;
8771
+ }
8772
+ li[data-v-20ea5d48] {
8773
+ list-style-type: none;
8774
+ }
8725
8775
  .el-tree-node__content {
8726
8776
  height: 34px !important;
8727
8777
  }
@@ -9960,56 +10010,6 @@ fieldset.amb-design-item-selected {
9960
10010
  padding: 10px;
9961
10011
  font-weight: bold;
9962
10012
  }
9963
-
9964
- /*不显示列样式*/
9965
- .hiddenBorder {
9966
- border-right: solid 1px #ebebeb !important;
9967
- border-left: solid 1px #ebebeb !important;
9968
- background-color: #ebebeb !important;
9969
- }
9970
- /*选中列样式*/
9971
- .addBorder {
9972
- border-right: solid 1px #5893ef !important;
9973
- border-left: solid 1px #5893ef !important;
9974
- background-color: #5893ef !important;
9975
- color: #ffffff;
9976
- }
9977
- .ghost {
9978
- opacity: 0.5;
9979
- background: #c8ebfb;
9980
- }
9981
-
9982
- li[data-v-8cf7f2d0] {
9983
- color: #333;
9984
- }
9985
- .context-menu[data-v-8cf7f2d0] {
9986
- position: fixed;
9987
- background: #fff;
9988
- z-index: 999;
9989
- padding: 5px;
9990
- margin: 0;
9991
- margin-top: 30px;
9992
- }
9993
- .context-menu li[data-v-8cf7f2d0] {
9994
- min-width: 75px;
9995
- height: 28px;
9996
- line-height: 28px;
9997
- text-align: left;
9998
- color: #1a1a1a;
9999
- cursor: pointer;
10000
- }
10001
- .context-menu li[data-v-8cf7f2d0]:hover {
10002
- background: #5893ef;
10003
- color: #fff;
10004
- }
10005
- .context-menu[data-v-8cf7f2d0] {
10006
- border: 1px solid #eee;
10007
- box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
10008
- border-radius: 5px;
10009
- }
10010
- li[data-v-8cf7f2d0] {
10011
- list-style-type: none;
10012
- }
10013
10013
  .el-tree-node__content {
10014
10014
  height: 34px !important;
10015
10015
  }
@@ -16242,11 +16242,6 @@ fieldset.amb-design-item-selected {
16242
16242
  min-width: 120px !important;
16243
16243
  }
16244
16244
 
16245
- .seleteSort[data-v-0ac2eace] {
16246
- border-radius: 5px;
16247
- border: 1px solid rgba(88, 147, 239);
16248
- }
16249
-
16250
16245
  .editorTool[data-v-26f79956] {
16251
16246
  margin-left: auto;
16252
16247
  }
@@ -16260,6 +16255,11 @@ fieldset.amb-design-item-selected {
16260
16255
  align-items: center; /* 子元素在交叉轴(垂直方向)上居中对齐 */
16261
16256
  }
16262
16257
 
16258
+ .seleteSort[data-v-0ac2eace] {
16259
+ border-radius: 5px;
16260
+ border: 1px solid rgba(88, 147, 239);
16261
+ }
16262
+
16263
16263
  .icon-set-center-body[data-v-4aa5ce08]{
16264
16264
  display: grid;
16265
16265
  grid-template-columns:repeat(5,1fr);
@@ -16297,6 +16297,40 @@ fieldset.amb-design-item-selected {
16297
16297
  margin-bottom: 20px;
16298
16298
  }
16299
16299
 
16300
+ .el-tag[data-v-665d3bf4]{
16301
+ margin-left: 10px;
16302
+ }
16303
+
16304
+ .row-backgroud-header-tittle[data-v-b203475d]{
16305
+ display: flex;
16306
+ justify-content: space-between;
16307
+ text-align: center
16308
+ }
16309
+ .row-backgroud-header-tittle > div[data-v-b203475d]{
16310
+ width: 100%
16311
+ }
16312
+
16313
+ .seleteSort[data-v-4978a9d6] {
16314
+ border-radius: 5px;
16315
+ border: 1px solid rgba(88, 147, 239);
16316
+ }
16317
+
16318
+ .seleteSort[data-v-97438be5] {
16319
+ border-radius: 5px;
16320
+ border: 1px solid rgba(88, 147, 239);
16321
+ }
16322
+ [data-v-97438be5] .el-select__selection{
16323
+ display: inline-block;
16324
+ }
16325
+
16326
+ .stateBtn[data-v-ae2798fb]{
16327
+ display: flex;
16328
+ }
16329
+ .stateText[data-v-ae2798fb]{
16330
+ margin-left: 10px;
16331
+ color: #7b7b7b;
16332
+ }
16333
+
16300
16334
  li[data-v-b436905c] {
16301
16335
  color: #333;
16302
16336
  }
@@ -16334,40 +16368,6 @@ li[data-v-b436905c] {
16334
16368
  list-style-type: none;
16335
16369
  }
16336
16370
 
16337
- .stateBtn[data-v-ae2798fb]{
16338
- display: flex;
16339
- }
16340
- .stateText[data-v-ae2798fb]{
16341
- margin-left: 10px;
16342
- color: #7b7b7b;
16343
- }
16344
-
16345
- .seleteSort[data-v-4978a9d6] {
16346
- border-radius: 5px;
16347
- border: 1px solid rgba(88, 147, 239);
16348
- }
16349
-
16350
- .row-backgroud-header-tittle[data-v-b203475d]{
16351
- display: flex;
16352
- justify-content: space-between;
16353
- text-align: center
16354
- }
16355
- .row-backgroud-header-tittle > div[data-v-b203475d]{
16356
- width: 100%
16357
- }
16358
-
16359
- .seleteSort[data-v-97438be5] {
16360
- border-radius: 5px;
16361
- border: 1px solid rgba(88, 147, 239);
16362
- }
16363
- [data-v-97438be5] .el-select__selection{
16364
- display: inline-block;
16365
- }
16366
-
16367
- .el-tag[data-v-665d3bf4]{
16368
- margin-left: 10px;
16369
- }
16370
-
16371
16371
  .input-with-select .el-input-group__append {
16372
16372
  background-color: var(--el-fill-color-blank);
16373
16373
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "super-page-designer",
3
- "version": "2.0.54",
3
+ "version": "2.0.58",
4
4
  "description": "AgileBuilder super page designer",
5
5
  "license": "ISC",
6
6
  "main": "dist/es/index.js",
@@ -28,7 +28,7 @@
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.41",
31
+ "agilebuilder-ui": "1.0.46",
32
32
  "echarts": "^5.5.0",
33
33
  "element-plus": "^2.6.1",
34
34
  "font-awesome": "^4.7.0",
@@ -38,8 +38,8 @@
38
38
  "pinia": "^2.1.7",
39
39
  "qrcode": "^1.5.3",
40
40
  "quill": "^2.0.1",
41
- "service-flow-designer": "2.0.53",
42
- "super-page-runtime": "2.0.52",
41
+ "service-flow-designer": "2.0.57",
42
+ "super-page-runtime": "2.0.56",
43
43
  "uuid": "^9.0.1",
44
44
  "vite": "^5.1.6",
45
45
  "vite-plugin-node-stdlib-browser": "^0.2.1",
@@ -50,7 +50,7 @@
50
50
  "vue-echarts": "^6.6.9",
51
51
  "vue-router": "^4.3.0",
52
52
  "vuex": "^4.1.0",
53
- "workflow-editor": "0.0.31-up"
53
+ "workflow-editor": "0.0.37-up"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@codemirror/autocomplete": "^6.16.0",