super-page-designer 2.0.45 → 2.0.48

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.
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, createVNode, createTextVNode, unref, createCommentVNode, withDirectives, vShow, createElementBlock, Fragment, renderList, normalizeClass, toDisplayString, renderSlot } from "vue";
2
- import _sfc_main$1 from "../../form/common/dataorigin-input-table.vue2.js";
2
+ import _sfc_main$1 from "../../form/common/dataorigin-input-table.vue.js";
3
3
  import { Codemirror } from "vue-codemirror";
4
4
  import _sfc_main$6 from "../../workflow/component/combination.vue.js";
5
5
  import _sfc_main$5 from "./return-set-table.vue.js";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, onMounted, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, createVNode, unref, createCommentVNode, withDirectives, createElementBlock, Fragment, renderList, vShow, createTextVNode, normalizeClass } from "vue";
2
- import _sfc_main$3 from "./dataorigin-input-table.vue2.js";
2
+ import _sfc_main$3 from "./dataorigin-input-table.vue.js";
3
3
  import _sfc_main$2 from "./condition.vue.js";
4
4
  import _sfc_main$1 from "./row-ul-li.vue.js";
5
5
  import "uuid";
@@ -1,4 +1,155 @@
1
- import _sfc_main from "./dataorigin-input-table.vue2.js";
1
+ import { defineComponent, ref, watch, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, unref, createElementVNode, createTextVNode } from "vue";
2
+ import { Search } from "@element-plus/icons-vue";
3
+ const _hoisted_1 = { class: "dialog-footer" };
4
+ const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ __name: "dataorigin-input-table",
6
+ props: {
7
+ modelValue: {
8
+ type: String,
9
+ default: ""
10
+ }
11
+ },
12
+ emits: ["update:modelValue"],
13
+ setup(__props, { emit: __emit }) {
14
+ const props = __props;
15
+ const inputValue = ref(props.modelValue);
16
+ const emit = __emit;
17
+ const tableData = [
18
+ {
19
+ id: 1,
20
+ date: "2016-05-03",
21
+ name: "Tom",
22
+ address: "No. 189, Grove St, Los Angeles"
23
+ },
24
+ {
25
+ id: 2,
26
+ date: "2016-05-02",
27
+ name: "Tom",
28
+ address: "No. 189, Grove St, Los Angeles"
29
+ },
30
+ {
31
+ id: 3,
32
+ date: "2016-05-04",
33
+ name: "Tom",
34
+ address: "No. 189, Grove St, Los Angeles"
35
+ },
36
+ {
37
+ id: 4,
38
+ date: "2016-05-01",
39
+ name: "Tom",
40
+ address: "No. 189, Grove St, Los Angeles"
41
+ }
42
+ ];
43
+ const dialogVisible = ref(false);
44
+ const selectData = ref([]);
45
+ watch(() => props.modelValue, (newVal) => {
46
+ inputValue.value = newVal;
47
+ });
48
+ function confirm() {
49
+ if (selectData.value.length > 0) {
50
+ let str = "";
51
+ selectData.value.forEach((item) => {
52
+ str = str + item.name + ",";
53
+ });
54
+ str = str.substring(0, str.length - 1);
55
+ emit("update:modelValue", str);
56
+ dialogVisible.value = false;
57
+ } else {
58
+ dialogVisible.value = false;
59
+ }
60
+ }
61
+ function handleSelectionChange(selection) {
62
+ selectData.value = selection;
63
+ }
64
+ function inputClick() {
65
+ dialogVisible.value = true;
66
+ }
67
+ return (_ctx, _cache) => {
68
+ const _component_el_icon = resolveComponent("el-icon");
69
+ const _component_el_input = resolveComponent("el-input");
70
+ const _component_el_table_column = resolveComponent("el-table-column");
71
+ const _component_el_table = resolveComponent("el-table");
72
+ const _component_el_button = resolveComponent("el-button");
73
+ const _component_el_dialog = resolveComponent("el-dialog");
74
+ return openBlock(), createElementBlock(Fragment, null, [
75
+ createVNode(_component_el_input, {
76
+ modelValue: inputValue.value,
77
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputValue.value = $event),
78
+ placeholder: "请选择",
79
+ onClick: inputClick
80
+ }, {
81
+ suffix: withCtx(() => [
82
+ createVNode(_component_el_icon, { onClick: inputClick }, {
83
+ default: withCtx(() => [
84
+ createVNode(unref(Search))
85
+ ]),
86
+ _: 1
87
+ })
88
+ ]),
89
+ _: 1
90
+ }, 8, ["modelValue"]),
91
+ createVNode(_component_el_dialog, {
92
+ modelValue: dialogVisible.value,
93
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => dialogVisible.value = $event),
94
+ title: "Tips",
95
+ width: "500"
96
+ }, {
97
+ footer: withCtx(() => [
98
+ createElementVNode("div", _hoisted_1, [
99
+ createVNode(_component_el_button, {
100
+ onClick: _cache[1] || (_cache[1] = ($event) => dialogVisible.value = false)
101
+ }, {
102
+ default: withCtx(() => [
103
+ createTextVNode("取消")
104
+ ]),
105
+ _: 1
106
+ }),
107
+ createVNode(_component_el_button, {
108
+ type: "primary",
109
+ onClick: confirm
110
+ }, {
111
+ default: withCtx(() => [
112
+ createTextVNode(" 确定 ")
113
+ ]),
114
+ _: 1
115
+ })
116
+ ])
117
+ ]),
118
+ default: withCtx(() => [
119
+ createVNode(_component_el_table, {
120
+ data: tableData,
121
+ style: { "width": "100%" },
122
+ onSelectionChange: handleSelectionChange
123
+ }, {
124
+ default: withCtx(() => [
125
+ createVNode(_component_el_table_column, {
126
+ type: "selection",
127
+ width: "55"
128
+ }),
129
+ createVNode(_component_el_table_column, {
130
+ prop: "date",
131
+ label: "Date",
132
+ width: "180"
133
+ }),
134
+ createVNode(_component_el_table_column, {
135
+ prop: "name",
136
+ label: "Name",
137
+ width: "180"
138
+ }),
139
+ createVNode(_component_el_table_column, {
140
+ prop: "address",
141
+ label: "Address"
142
+ })
143
+ ]),
144
+ _: 1
145
+ })
146
+ ]),
147
+ _: 1
148
+ }, 8, ["modelValue"])
149
+ ], 64);
150
+ };
151
+ }
152
+ });
2
153
  export {
3
154
  _sfc_main as default
4
155
  };
@@ -1,155 +1,4 @@
1
- import { defineComponent, ref, watch, resolveComponent, openBlock, createElementBlock, Fragment, createVNode, withCtx, unref, createElementVNode, createTextVNode } from "vue";
2
- import { Search } from "@element-plus/icons-vue";
3
- const _hoisted_1 = { class: "dialog-footer" };
4
- const _sfc_main = /* @__PURE__ */ defineComponent({
5
- __name: "dataorigin-input-table",
6
- props: {
7
- modelValue: {
8
- type: String,
9
- default: ""
10
- }
11
- },
12
- emits: ["update:modelValue"],
13
- setup(__props, { emit: __emit }) {
14
- const props = __props;
15
- const inputValue = ref(props.modelValue);
16
- const emit = __emit;
17
- const tableData = [
18
- {
19
- id: 1,
20
- date: "2016-05-03",
21
- name: "Tom",
22
- address: "No. 189, Grove St, Los Angeles"
23
- },
24
- {
25
- id: 2,
26
- date: "2016-05-02",
27
- name: "Tom",
28
- address: "No. 189, Grove St, Los Angeles"
29
- },
30
- {
31
- id: 3,
32
- date: "2016-05-04",
33
- name: "Tom",
34
- address: "No. 189, Grove St, Los Angeles"
35
- },
36
- {
37
- id: 4,
38
- date: "2016-05-01",
39
- name: "Tom",
40
- address: "No. 189, Grove St, Los Angeles"
41
- }
42
- ];
43
- const dialogVisible = ref(false);
44
- const selectData = ref([]);
45
- watch(() => props.modelValue, (newVal) => {
46
- inputValue.value = newVal;
47
- });
48
- function confirm() {
49
- if (selectData.value.length > 0) {
50
- let str = "";
51
- selectData.value.forEach((item) => {
52
- str = str + item.name + ",";
53
- });
54
- str = str.substring(0, str.length - 1);
55
- emit("update:modelValue", str);
56
- dialogVisible.value = false;
57
- } else {
58
- dialogVisible.value = false;
59
- }
60
- }
61
- function handleSelectionChange(selection) {
62
- selectData.value = selection;
63
- }
64
- function inputClick() {
65
- dialogVisible.value = true;
66
- }
67
- return (_ctx, _cache) => {
68
- const _component_el_icon = resolveComponent("el-icon");
69
- const _component_el_input = resolveComponent("el-input");
70
- const _component_el_table_column = resolveComponent("el-table-column");
71
- const _component_el_table = resolveComponent("el-table");
72
- const _component_el_button = resolveComponent("el-button");
73
- const _component_el_dialog = resolveComponent("el-dialog");
74
- return openBlock(), createElementBlock(Fragment, null, [
75
- createVNode(_component_el_input, {
76
- modelValue: inputValue.value,
77
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputValue.value = $event),
78
- placeholder: "请选择",
79
- onClick: inputClick
80
- }, {
81
- suffix: withCtx(() => [
82
- createVNode(_component_el_icon, { onClick: inputClick }, {
83
- default: withCtx(() => [
84
- createVNode(unref(Search))
85
- ]),
86
- _: 1
87
- })
88
- ]),
89
- _: 1
90
- }, 8, ["modelValue"]),
91
- createVNode(_component_el_dialog, {
92
- modelValue: dialogVisible.value,
93
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => dialogVisible.value = $event),
94
- title: "Tips",
95
- width: "500"
96
- }, {
97
- footer: withCtx(() => [
98
- createElementVNode("div", _hoisted_1, [
99
- createVNode(_component_el_button, {
100
- onClick: _cache[1] || (_cache[1] = ($event) => dialogVisible.value = false)
101
- }, {
102
- default: withCtx(() => [
103
- createTextVNode("取消")
104
- ]),
105
- _: 1
106
- }),
107
- createVNode(_component_el_button, {
108
- type: "primary",
109
- onClick: confirm
110
- }, {
111
- default: withCtx(() => [
112
- createTextVNode(" 确定 ")
113
- ]),
114
- _: 1
115
- })
116
- ])
117
- ]),
118
- default: withCtx(() => [
119
- createVNode(_component_el_table, {
120
- data: tableData,
121
- style: { "width": "100%" },
122
- onSelectionChange: handleSelectionChange
123
- }, {
124
- default: withCtx(() => [
125
- createVNode(_component_el_table_column, {
126
- type: "selection",
127
- width: "55"
128
- }),
129
- createVNode(_component_el_table_column, {
130
- prop: "date",
131
- label: "Date",
132
- width: "180"
133
- }),
134
- createVNode(_component_el_table_column, {
135
- prop: "name",
136
- label: "Name",
137
- width: "180"
138
- }),
139
- createVNode(_component_el_table_column, {
140
- prop: "address",
141
- label: "Address"
142
- })
143
- ]),
144
- _: 1
145
- })
146
- ]),
147
- _: 1
148
- }, 8, ["modelValue"])
149
- ], 64);
150
- };
151
- }
152
- });
1
+ import _sfc_main from "./dataorigin-input-table.vue.js";
153
2
  export {
154
3
  _sfc_main as default
155
4
  };
package/dist/es/style.css CHANGED
@@ -8722,56 +8722,6 @@ 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-130db8b6] {
8745
- color: #333;
8746
- }
8747
- .context-menu[data-v-130db8b6] {
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-130db8b6] {
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-130db8b6]:hover {
8764
- background: #5893ef;
8765
- color: #fff;
8766
- }
8767
- .context-menu[data-v-130db8b6] {
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-130db8b6] {
8773
- list-style-type: none;
8774
- }
8775
8725
  .el-tree-node__content {
8776
8726
  height: 34px !important;
8777
8727
  }
@@ -9391,6 +9341,56 @@ fieldset.amb-design-item-selected {
9391
9341
  padding: 10px;
9392
9342
  font-weight: bold;
9393
9343
  }
9344
+
9345
+ /*不显示列样式*/
9346
+ .hiddenBorder {
9347
+ border-right: solid 1px #ebebeb !important;
9348
+ border-left: solid 1px #ebebeb !important;
9349
+ background-color: #ebebeb !important;
9350
+ }
9351
+ /*选中列样式*/
9352
+ .addBorder {
9353
+ border-right: solid 1px #5893ef !important;
9354
+ border-left: solid 1px #5893ef !important;
9355
+ background-color: #5893ef !important;
9356
+ color: #ffffff;
9357
+ }
9358
+ .ghost {
9359
+ opacity: 0.5;
9360
+ background: #c8ebfb;
9361
+ }
9362
+
9363
+ li[data-v-130db8b6] {
9364
+ color: #333;
9365
+ }
9366
+ .context-menu[data-v-130db8b6] {
9367
+ position: fixed;
9368
+ background: #fff;
9369
+ z-index: 999;
9370
+ padding: 5px;
9371
+ margin: 0;
9372
+ margin-top: 30px;
9373
+ }
9374
+ .context-menu li[data-v-130db8b6] {
9375
+ min-width: 75px;
9376
+ height: 28px;
9377
+ line-height: 28px;
9378
+ text-align: left;
9379
+ color: #1a1a1a;
9380
+ cursor: pointer;
9381
+ }
9382
+ .context-menu li[data-v-130db8b6]:hover {
9383
+ background: #5893ef;
9384
+ color: #fff;
9385
+ }
9386
+ .context-menu[data-v-130db8b6] {
9387
+ border: 1px solid #eee;
9388
+ box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
9389
+ border-radius: 5px;
9390
+ }
9391
+ li[data-v-130db8b6] {
9392
+ list-style-type: none;
9393
+ }
9394
9394
  .el-tree-node__content {
9395
9395
  height: 34px !important;
9396
9396
  }
@@ -15612,15 +15612,6 @@ fieldset.amb-design-item-selected {
15612
15612
  color: #ffffff;
15613
15613
  }
15614
15614
 
15615
- [data-v-8cdbf8c5] .el-cascader-menu {
15616
- min-width: 120px !important;
15617
- }
15618
-
15619
- .seleteSort[data-v-6dd67d1b] {
15620
- border-radius: 5px;
15621
- border: 1px solid rgba(88, 147, 239);
15622
- }
15623
-
15624
15615
  .event-item[data-v-c7ab7527] {
15625
15616
  font-size: 12px;
15626
15617
  border-bottom: 2px dashed #f5f6f8;
@@ -15678,25 +15669,27 @@ fieldset.amb-design-item-selected {
15678
15669
  margin-bottom: 20px;
15679
15670
  }
15680
15671
 
15681
- .seleteSort[data-v-97438be5] {
15682
- border-radius: 5px;
15683
- border: 1px solid rgba(88, 147, 239);
15684
- }
15685
- [data-v-97438be5] .el-select__selection{
15686
- display: inline-block;
15672
+ [data-v-8cdbf8c5] .el-cascader-menu {
15673
+ min-width: 120px !important;
15687
15674
  }
15688
15675
 
15689
- .seleteSort[data-v-33ccef42] {
15676
+ .seleteSort[data-v-6dd67d1b] {
15690
15677
  border-radius: 5px;
15691
15678
  border: 1px solid rgba(88, 147, 239);
15692
15679
  }
15693
15680
 
15694
- .stateBtn[data-v-ae2798fb]{
15695
- display: flex;
15681
+ .row-backgroud-header-tittle[data-v-b203475d]{
15682
+ display: flex;
15683
+ justify-content: space-between;
15684
+ text-align: center
15696
15685
  }
15697
- .stateText[data-v-ae2798fb]{
15698
- margin-left: 10px;
15699
- color: #7b7b7b;
15686
+ .row-backgroud-header-tittle > div[data-v-b203475d]{
15687
+ width: 100%
15688
+ }
15689
+
15690
+ .seleteSort[data-v-33ccef42] {
15691
+ border-radius: 5px;
15692
+ border: 1px solid rgba(88, 147, 239);
15700
15693
  }
15701
15694
 
15702
15695
  li[data-v-b436905c] {
@@ -15736,13 +15729,20 @@ li[data-v-b436905c] {
15736
15729
  list-style-type: none;
15737
15730
  }
15738
15731
 
15739
- .row-backgroud-header-tittle[data-v-b203475d]{
15740
- display: flex;
15741
- justify-content: space-between;
15742
- text-align: center
15732
+ .stateBtn[data-v-ae2798fb]{
15733
+ display: flex;
15743
15734
  }
15744
- .row-backgroud-header-tittle > div[data-v-b203475d]{
15745
- width: 100%
15735
+ .stateText[data-v-ae2798fb]{
15736
+ margin-left: 10px;
15737
+ color: #7b7b7b;
15738
+ }
15739
+
15740
+ .seleteSort[data-v-97438be5] {
15741
+ border-radius: 5px;
15742
+ border: 1px solid rgba(88, 147, 239);
15743
+ }
15744
+ [data-v-97438be5] .el-select__selection{
15745
+ display: inline-block;
15746
15746
  }
15747
15747
 
15748
15748
  .el-tag[data-v-665d3bf4]{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "super-page-designer",
3
- "version": "2.0.45",
3
+ "version": "2.0.48",
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.34",
31
+ "agilebuilder-ui": "1.0.35",
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.42",
42
- "super-page-runtime": "2.0.44",
41
+ "service-flow-designer": "2.0.46",
42
+ "super-page-runtime": "2.0.47",
43
43
  "uuid": "^9.0.1",
44
44
  "vite": "^5.1.6",
45
45
  "vite-plugin-node-stdlib-browser": "^0.2.1",