resolver-egretimp-plus 0.0.262 → 0.0.264

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "resolver-egretimp-plus",
3
- "version": "0.0.262",
3
+ "version": "0.0.264",
4
4
  "description": "交付体验渲染",
5
5
  "main": "./dist/web/index.js",
6
6
  "module": "./dist/web/index.js",
@@ -119,6 +119,10 @@ function toCollapse() {
119
119
  }
120
120
  </style>
121
121
  <style lang="scss">
122
+ .CustomComponentCollapseH5 {
123
+ margin-bottom: 16px;
124
+ }
125
+
122
126
  .CustomComponentCollapseH5:first-child {
123
127
  margin-bottom: 16px;
124
128
  }
@@ -26,6 +26,7 @@ const props = defineProps({
26
26
  filterable: [String, Boolean],
27
27
  multipleLimit: [String, Number],
28
28
  rangeOptions: Array,
29
+ excludeOptions: Array,
29
30
  // 多选的分割符号
30
31
  separator: {
31
32
  type: [String],
@@ -54,10 +55,14 @@ const isMutiple = computed(() => {
54
55
  })
55
56
 
56
57
  const options = computed(() => {
58
+ let list = props.options
57
59
  if (props.rangeOptions && props.rangeOptions.length) {
58
- return props.options?.filter?.(item => props.rangeOptions?.some(subValue => subValue == item.columnValue))
60
+ list = list?.filter?.(item => props.rangeOptions?.some(subValue => subValue == item.columnValue))
59
61
  }
60
- return props.options
62
+ if (props.excludeOptions && props.excludeOptions.length) {
63
+ list = list?.filter?.(item => !(props.excludeOptions?.some(subValue => subValue == item.columnValue)))
64
+ }
65
+ return list
61
66
  })
62
67
 
63
68
  const value = computed({
@@ -49,3 +49,4 @@
49
49
  @import './checkbox.scss';
50
50
  @import './button.scss';
51
51
  @import './cycle.scss';
52
+ @import './radio.scss';
@@ -0,0 +1,40 @@
1
+ .el-radio {
2
+ .el-radio__input {
3
+ &.is-disabled.is-checked {
4
+ --el-disabled-bg-color: #646A73;
5
+ --el-disabled-border-color: #646A73;
6
+ --el-text-color-placeholder: #EFF0F1;
7
+ }
8
+ .el-radio__inner {
9
+ &::after {
10
+ width: 5px;
11
+ height: 5px;
12
+ }
13
+ }
14
+ &:not(.is-disabled) {
15
+ .el-radio__inner {
16
+ &::after {
17
+ width: 5px;
18
+ height: 5px;
19
+ }
20
+ &:active {
21
+ border-color: #245BDB;
22
+ }
23
+ }
24
+ }
25
+
26
+ &.is-checked:not(.is-disabled) {
27
+ .el-radio__inner {
28
+ &::after {
29
+ }
30
+ &:hover {
31
+ background: #4E83FD;
32
+ }
33
+ &:active {
34
+ background: #245BDB;
35
+ }
36
+ }
37
+ }
38
+ }
39
+
40
+ }