super-page-designer 2.1.41-tmp1 → 2.1.41-tmp2

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, createTextVNode, createElementBlock, Fragment, renderList, vShow, 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
  };
@@ -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-26f79956"]]);
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-26f79956"]]);
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";
@@ -15,7 +15,7 @@ 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 "../page-event/config.vue.js";
19
19
  import "../../../utils/assemblys-config.js";
20
20
  import "../../../../../stores/page-store.js";
21
21
  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-switch.is-disabled .el-switch__core, .el-switch.is-disabled .el-switch__label{
2533
- cursor: default;
2534
- }
2535
2531
  .el-tree-node__content {
2536
2532
  height: 34px !important;
2537
2533
  }
@@ -3768,10 +3764,6 @@ fieldset.amb-design-item-selected {
3768
3764
  padding: 10px;
3769
3765
  font-weight: bold;
3770
3766
  }
3771
-
3772
- .el-select__wrapper.is-disabled{
3773
- cursor: default;
3774
- }
3775
3767
  .el-tree-node__content {
3776
3768
  height: 34px !important;
3777
3769
  }
@@ -5008,6 +5000,10 @@ fieldset.amb-design-item-selected {
5008
5000
  padding: 10px;
5009
5001
  font-weight: bold;
5010
5002
  }
5003
+
5004
+ .el-select__wrapper.is-disabled{
5005
+ cursor: default;
5006
+ }
5011
5007
  .el-tree-node__content {
5012
5008
  height: 34px !important;
5013
5009
  }
@@ -5626,6 +5622,10 @@ fieldset.amb-design-item-selected {
5626
5622
  padding: 10px;
5627
5623
  font-weight: bold;
5628
5624
  }
5625
+
5626
+ .el-switch.is-disabled .el-switch__core, .el-switch.is-disabled .el-switch__label{
5627
+ cursor: default;
5628
+ }
5629
5629
  .el-tree-node__content {
5630
5630
  height: 34px !important;
5631
5631
  }
@@ -16182,10 +16182,6 @@ fieldset.amb-design-item-selected {
16182
16182
  padding: 10px;
16183
16183
  font-weight: bold;
16184
16184
  }
16185
-
16186
- [data-v-d87986ba] .el-form-item__label{
16187
- padding: 0;
16188
- }
16189
16185
  .el-tree-node__content {
16190
16186
  height: 34px !important;
16191
16187
  }
@@ -16804,55 +16800,9 @@ fieldset.amb-design-item-selected {
16804
16800
  padding: 10px;
16805
16801
  font-weight: bold;
16806
16802
  }
16807
-
16808
- /*不显示列样式*/
16809
- .hiddenBorder {
16810
- border-right: solid 1px #ebebeb !important;
16811
- border-left: solid 1px #ebebeb !important;
16812
- background-color: #ebebeb !important;
16813
- }
16814
- /*选中列样式*/
16815
- .addBorder {
16816
- border-right: solid 1px #5893ef !important;
16817
- border-left: solid 1px #5893ef !important;
16818
- background-color: #5893ef !important;
16819
- color: #ffffff;
16820
- }
16821
- .ghost {
16822
- opacity: 0.5;
16823
- background: #c8ebfb;
16824
- }
16825
16803
 
16826
- li[data-v-ad6b7f2d] {
16827
- color: #333;
16828
- }
16829
- .context-menu[data-v-ad6b7f2d] {
16830
- position: fixed;
16831
- background: #fff;
16832
- z-index: 999;
16833
- padding: 5px;
16834
- margin: 0;
16835
- margin-top: 30px;
16836
- }
16837
- .context-menu li[data-v-ad6b7f2d] {
16838
- min-width: 75px;
16839
- height: 28px;
16840
- line-height: 28px;
16841
- text-align: left;
16842
- color: #1a1a1a;
16843
- cursor: pointer;
16844
- }
16845
- .context-menu li[data-v-ad6b7f2d]:hover {
16846
- background: #5893ef;
16847
- color: #fff;
16848
- }
16849
- .context-menu[data-v-ad6b7f2d] {
16850
- border: 1px solid #eee;
16851
- box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
16852
- border-radius: 5px;
16853
- }
16854
- li[data-v-ad6b7f2d] {
16855
- list-style-type: none;
16804
+ [data-v-d87986ba] .el-form-item__label{
16805
+ padding: 0;
16856
16806
  }
16857
16807
  .el-tree-node__content {
16858
16808
  height: 34px !important;
@@ -17472,6 +17422,56 @@ fieldset.amb-design-item-selected {
17472
17422
  padding: 10px;
17473
17423
  font-weight: bold;
17474
17424
  }
17425
+
17426
+ /*不显示列样式*/
17427
+ .hiddenBorder {
17428
+ border-right: solid 1px #ebebeb !important;
17429
+ border-left: solid 1px #ebebeb !important;
17430
+ background-color: #ebebeb !important;
17431
+ }
17432
+ /*选中列样式*/
17433
+ .addBorder {
17434
+ border-right: solid 1px #5893ef !important;
17435
+ border-left: solid 1px #5893ef !important;
17436
+ background-color: #5893ef !important;
17437
+ color: #ffffff;
17438
+ }
17439
+ .ghost {
17440
+ opacity: 0.5;
17441
+ background: #c8ebfb;
17442
+ }
17443
+
17444
+ li[data-v-ad6b7f2d] {
17445
+ color: #333;
17446
+ }
17447
+ .context-menu[data-v-ad6b7f2d] {
17448
+ position: fixed;
17449
+ background: #fff;
17450
+ z-index: 999;
17451
+ padding: 5px;
17452
+ margin: 0;
17453
+ margin-top: 30px;
17454
+ }
17455
+ .context-menu li[data-v-ad6b7f2d] {
17456
+ min-width: 75px;
17457
+ height: 28px;
17458
+ line-height: 28px;
17459
+ text-align: left;
17460
+ color: #1a1a1a;
17461
+ cursor: pointer;
17462
+ }
17463
+ .context-menu li[data-v-ad6b7f2d]:hover {
17464
+ background: #5893ef;
17465
+ color: #fff;
17466
+ }
17467
+ .context-menu[data-v-ad6b7f2d] {
17468
+ border: 1px solid #eee;
17469
+ box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
17470
+ border-radius: 5px;
17471
+ }
17472
+ li[data-v-ad6b7f2d] {
17473
+ list-style-type: none;
17474
+ }
17475
17475
 
17476
17476
  .amb-design-attr-header[data-v-226997f7] {
17477
17477
  position: sticky;
@@ -17533,6 +17533,11 @@ fieldset.amb-design-item-selected {
17533
17533
  align-items: center; /* 子元素在交叉轴(垂直方向)上居中对齐 */
17534
17534
  }
17535
17535
 
17536
+ .seleteSort[data-v-a8c75465] {
17537
+ border-radius: 5px;
17538
+ border: 1px solid rgba(88, 147, 239);
17539
+ }
17540
+
17536
17541
  .icon-set-center-body[data-v-181d1ce8]{
17537
17542
  display: grid;
17538
17543
  grid-template-columns:repeat(5,1fr);
@@ -17570,32 +17575,6 @@ fieldset.amb-design-item-selected {
17570
17575
  margin-bottom: 20px;
17571
17576
  }
17572
17577
 
17573
- .seleteSort[data-v-a8c75465] {
17574
- border-radius: 5px;
17575
- border: 1px solid rgba(88, 147, 239);
17576
- }
17577
-
17578
- .el-tag[data-v-665d3bf4]{
17579
- margin-left: 10px;
17580
- }
17581
-
17582
- .row-backgroud-header-tittle[data-v-b203475d]{
17583
- display: flex;
17584
- justify-content: space-between;
17585
- text-align: center
17586
- }
17587
- .row-backgroud-header-tittle > div[data-v-b203475d]{
17588
- width: 100%
17589
- }
17590
-
17591
- .seleteSort[data-v-1dada466] {
17592
- border-radius: 5px;
17593
- border: 1px solid rgba(88, 147, 239);
17594
- }
17595
- [data-v-1dada466] .el-select__selection{
17596
- display: inline-block;
17597
- }
17598
-
17599
17578
  li[data-v-74ebe0ac] {
17600
17579
  color: #333;
17601
17580
  }
@@ -17641,15 +17620,36 @@ li[data-v-74ebe0ac] {
17641
17620
  color: #7b7b7b;
17642
17621
  }
17643
17622
 
17623
+ .row-backgroud-header-tittle[data-v-b203475d]{
17624
+ display: flex;
17625
+ justify-content: space-between;
17626
+ text-align: center
17627
+ }
17628
+ .row-backgroud-header-tittle > div[data-v-b203475d]{
17629
+ width: 100%
17630
+ }
17631
+
17632
+ .el-tag[data-v-665d3bf4]{
17633
+ margin-left: 10px;
17634
+ }
17635
+
17636
+ .seleteSort[data-v-1dada466] {
17637
+ border-radius: 5px;
17638
+ border: 1px solid rgba(88, 147, 239);
17639
+ }
17640
+ [data-v-1dada466] .el-select__selection{
17641
+ display: inline-block;
17642
+ }
17643
+
17644
17644
  .seleteSort[data-v-7143edf0] {
17645
17645
  border-radius: 5px;
17646
17646
  border: 1px solid rgba(88, 147, 239);
17647
17647
  }
17648
17648
 
17649
- .input-with-select .el-input-group__append {
17650
- background-color: var(--el-fill-color-blank);
17651
- }
17652
-
17653
17649
  [data-v-1aa6f1ab] .centered-input .el-input__inner {
17654
17650
  text-align: center;
17655
17651
  }
17652
+
17653
+ .input-with-select .el-input-group__append {
17654
+ background-color: var(--el-fill-color-blank);
17655
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "super-page-designer",
3
- "version": "2.1.41-tmp1",
3
+ "version": "2.1.41-tmp2",
4
4
  "description": "AgileBuilder super page designer",
5
5
  "license": "ISC",
6
6
  "main": "dist/es/index.js",
@@ -40,7 +40,7 @@
40
40
  "qrcode": "^1.5.3",
41
41
  "quill": "^2.0.1",
42
42
  "service-flow-designer": "2.1.39",
43
- "super-page-runtime": "2.1.40-tmp1",
43
+ "super-page-runtime": "2.1.40-tmp2",
44
44
  "uuid": "^9.0.1",
45
45
  "vite": "^5.1.6",
46
46
  "vite-plugin-node-stdlib-browser": "^0.2.1",