resolver-egretimp-plus 0.0.46 → 0.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.
Files changed (32) hide show
  1. package/dist/h5/index.js +1 -1
  2. package/dist/theme/element/index.css +1 -1
  3. package/dist/theme/element/src/components/collapse.scss +98 -10
  4. package/dist/theme/element/src/components/common.scss +12 -0
  5. package/dist/theme/element/src/components/dialog.scss +42 -0
  6. package/dist/theme/element/src/components/index.scss +1 -0
  7. package/dist/theme/element/src/components/tabs.scss +10 -0
  8. package/dist/theme/element/src/index.scss +0 -63
  9. package/dist/web/index.js +1 -1
  10. package/package.json +1 -1
  11. package/scripts/webpack.config.js +3 -1
  12. package/src/components/childDialog/src/index.vue +25 -18
  13. package/src/components/helper/eventOrchestration.js +7 -1
  14. package/src/components/helper/resolver.js +2 -2
  15. package/src/components/packages-web/CustomComponentCol.vue +0 -1
  16. package/src/components/packages-web/CustomComponentCollapse.vue +2 -70
  17. package/src/components/packages-web/CustomComponentRow.vue +1 -3
  18. package/src/components/packages-web/CustomComponentTable.jsx +1 -1
  19. package/src/components/packages-web/ElCheckbox.vue +26 -5
  20. package/src/components/styles/CustomComponenTable.scss +1 -1
  21. package/src/resolver-H5.vue +23 -1
  22. package/src/resolver-common.vue +24 -2
  23. package/src/resolver-web.vue +23 -1
  24. package/src/theme/element/components/collapse.scss +98 -10
  25. package/src/theme/element/components/common.scss +12 -0
  26. package/src/theme/element/components/dialog.scss +42 -0
  27. package/src/theme/element/components/index.scss +1 -0
  28. package/src/theme/element/components/tabs.scss +10 -0
  29. package/src/theme/element/index.scss +0 -63
  30. package/src/utils/const.js +5 -1
  31. package/src/utils/render.jsx +2 -2
  32. package/src/utils/respone.js +10 -4
@@ -1,16 +1,104 @@
1
+ @import "./common.scss";not-wrap-border
1
2
 
2
- .el-collapse {
3
- --el-collapse-header-height: 22px;
4
- --el-collapse-header-font-size: 14px;
5
- // margin-bottom: var(--prmary-marign);
6
- .el-collapse-item__header {
7
- padding-bottom: 12px;
8
- box-sizing: content-box;
3
+ // 配置被包裹的一层样式
4
+ .standard-wrap {
5
+ box-sizing: border-box;
6
+ }
7
+ .CustomComponentCollapse {
8
+ .el-collapse {
9
+ --el-collapse-header-height: 22px;
10
+ --el-collapse-header-font-size: 14px;
11
+ // margin-bottom: var(--prmary-marign);
12
+ .el-collapse-item__header {
13
+ padding-bottom: 12px;
14
+ box-sizing: content-box;
15
+ }
16
+ .el-collapse-item__content {
17
+ padding-bottom: 0;
18
+ }
19
+ .el-collapse-item__wrap {
20
+ margin-right: calc(var(--prmary-marign) - var(--prmary-marign) * 2);
21
+ }
9
22
  }
10
- .el-collapse-item__content {
11
- padding-bottom: 0;
23
+
24
+ .el-collapse-item__wrap, .el-collapse-item__header {
25
+ border-bottom: none;
26
+ &::before {
27
+ display: none;
28
+ }
12
29
  }
13
30
  .el-collapse-item__wrap {
14
- margin-right: calc(var(--prmary-marign) - var(--prmary-marign) * 2);
31
+ overflow: none;
32
+ }
33
+ .el-collapse-item {
34
+ position: relative;
35
+ &::after {
36
+ content: "";
37
+ display: block;
38
+ position: absolute;
39
+ width: 100%;
40
+ bottom: 0;
41
+ left: 0;
42
+ height: 1px;
43
+ background-color: #d0d3d6;
44
+ // margin-bottom: var(--prmary-marign);
45
+ }
46
+ .el-collapse-item__content {
47
+ & > .el-row {
48
+ > .el-col {
49
+ &:last-child {
50
+ & > .el-form-item {
51
+ margin-bottom: 24px;
52
+ }
53
+ }
54
+ }
55
+ }
56
+ }
57
+ }
58
+ .el-collapse-item__arrow {
59
+ font-size: 16px;
60
+ color: #646A73;
61
+ svg path {
62
+ d: path("M 338.752 104.704 a 64 64 0 0 0 0 90.496 l 316.8 316.8 l -316.8 316.8 a 64 64 0 0 0 90.496 90.496 l 362.048 -362.048 a 64 64 0 0 0 0 -90.496 L 429.248 104.704 a 64 64 0 0 0 -90.496 0 Z");
63
+ }
64
+ }
65
+ .el-collapse-item__content {
66
+ @include nestMargin
67
+ }
68
+
69
+ .el-collapse-item__arrow {
70
+ margin-right: 0;
71
+ }
72
+ }
73
+
74
+ .CustomComponentCollapse:first-child {
75
+ margin-bottom: 12px;
76
+ }
77
+ .CustomComponentCollapse + .CustomComponentCollapse {
78
+ margin-bottom: 12px;
79
+ }
80
+
81
+ .CustomComponentCollapse.is-card:first-child {
82
+ margin-bottom: 16px;
83
+ }
84
+ .CustomComponentCollapse.is-card + .CustomComponentCollapse.is-card {
85
+ margin-bottom: 16px;
86
+ }
87
+
88
+ // 加权
89
+ .CustomComponentCollapse.CustomComponentCollapse.CustomComponentCollapse:last-child {
90
+ margin-bottom: 0;
91
+ }
92
+ .underline-hidden {
93
+ .el-collapse-item {
94
+ &::after {
95
+ display: none;
96
+ }
97
+ }
98
+ }
99
+ .not-wrap-border {
100
+ &.el-collapse {
101
+ border-top: none;
102
+ border-bottom: none;
15
103
  }
16
104
  }
@@ -0,0 +1,12 @@
1
+ @mixin nestMargin {
2
+ & > div {
3
+ & > .CustomComponentTable,
4
+ & > .CustomComponentCollapse,
5
+ & > .CustomComponentRow {
6
+ & > div {
7
+ margin-right: 16px;
8
+ margin-bottom: 16px;
9
+ }
10
+ }
11
+ }
12
+ }
@@ -0,0 +1,42 @@
1
+
2
+ // 组件弹框样式定义调整
3
+ .custom-component-dialog {
4
+ padding-top: 0px;
5
+ padding-bottom: 0;
6
+
7
+ .el-dialog__header {
8
+ display: none;
9
+ }
10
+ .el-dialog__body {
11
+ height: 100%;
12
+ .header {
13
+ line-height: 46px;
14
+ font-size: 14px;
15
+ font-weight: 500;
16
+ color: #1F2329;
17
+ }
18
+ .content {
19
+ height: 100%;
20
+ box-sizing: border-box;
21
+ // .el-scrollbar__wrap {
22
+ // overflow-x: hidden;
23
+ // }
24
+ // .is-horizontal {
25
+ // display: none;
26
+ // }
27
+ }
28
+ .footer {
29
+ height: 68px;
30
+ text-align: right;
31
+ overflow: hidden;
32
+ .dialog-footer {
33
+ margin-top: 16px;
34
+ }
35
+ }
36
+ }
37
+ &.el-dialog footer {
38
+ position: initial;
39
+ transform: none;
40
+ padding: 0;
41
+ }
42
+ }
@@ -40,3 +40,4 @@
40
40
  @import './tabs.scss';
41
41
  @import './tree.scss';
42
42
  @import './steps.scss';
43
+ @import './dialog.scss'
@@ -1,4 +1,6 @@
1
1
 
2
+ @import "./common.scss";
3
+
2
4
  .resolver-tabs {
3
5
  // 这个是渲染器里面tabs
4
6
  display: block;
@@ -69,4 +71,12 @@
69
71
  border: none;
70
72
  }
71
73
  }
74
+ }
75
+ .CustomComponentTabs {
76
+ .el-tabs__content {
77
+ margin-right: -16px;
78
+ .el-tab-pane {
79
+ @include nestMargin
80
+ }
81
+ }
72
82
  }
@@ -14,66 +14,3 @@
14
14
  }
15
15
  }
16
16
 
17
- .CustomComponentCollapse:first-child {
18
- margin-bottom: 12px;
19
- }
20
- .CustomComponentCollapse + .CustomComponentCollapse {
21
- margin-bottom: 12px;
22
- }
23
-
24
- .CustomComponentCollapse.is-card:first-child {
25
- margin-bottom: 16px;
26
- }
27
- .CustomComponentCollapse.is-card + .CustomComponentCollapse.is-card {
28
- margin-bottom: 16px;
29
- }
30
-
31
- // 加权
32
- .CustomComponentCollapse.CustomComponentCollapse.CustomComponentCollapse:last-child {
33
- margin-bottom: 0;
34
- }
35
- .el-collapse-item__arrow {
36
- margin-right: 0;
37
- }
38
-
39
- // 组件弹框样式定义调整
40
- .custom-component-dialog {
41
- padding-top: 0px;
42
- padding-bottom: 0;
43
-
44
- .el-dialog__header {
45
- display: none;
46
- }
47
- .el-dialog__body {
48
- height: 100%;
49
- .header {
50
- line-height: 46px;
51
- font-size: 14px;
52
- font-weight: 500;
53
- color: #1F2329;
54
- }
55
- .content {
56
- height: 100%;
57
- box-sizing: border-box;
58
- // .el-scrollbar__wrap {
59
- // overflow-x: hidden;
60
- // }
61
- // .is-horizontal {
62
- // display: none;
63
- // }
64
- }
65
- .footer {
66
- height: 68px;
67
- text-align: right;
68
- overflow: hidden;
69
- .dialog-footer {
70
- margin-top: 16px;
71
- }
72
- }
73
- }
74
- &.el-dialog footer {
75
- position: initial;
76
- transform: none;
77
- padding: 0;
78
- }
79
- }