resolver-egretimp-plus 0.0.264 → 0.0.266

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.
@@ -6,6 +6,9 @@
6
6
  & > .el-form-item__label {
7
7
  display: none;
8
8
  }
9
+ & > .el-form-item__label-wrap {
10
+ display: none;
11
+ }
9
12
  }
10
13
  .content-right {
11
14
  .el-form-item__content {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "resolver-egretimp-plus",
3
- "version": "0.0.264",
3
+ "version": "0.0.266",
4
4
  "description": "交付体验渲染",
5
5
  "main": "./dist/web/index.js",
6
6
  "module": "./dist/web/index.js",
@@ -22,7 +22,7 @@ const props = defineProps({
22
22
  const calcPorps = computed(() => {
23
23
  return ['displayType', 'widgetSize', 'plain', 'color', 'loading', 'loadtype', 'loadingcolor', 'disabled'].reduce((ret, key) => {
24
24
  if (['plain', 'loading', 'loadtype'].includes(key)) {
25
- ret[key] = props[key] === '1' ? true : false
25
+ ret[key] = props[key] == '1' ? true : false
26
26
  } else if (key === 'displayType') {
27
27
  ret.type = props[key]
28
28
  } else if (key === 'widgetSize') {
@@ -12,7 +12,7 @@ const props = defineProps({
12
12
  })
13
13
  const open = computed({
14
14
  get() {
15
- return props?.config?.open === '1'
15
+ return props?.config?.open == '1'
16
16
  },
17
17
  set(val) {
18
18
  props.config.open = val ? '1' : '0'
@@ -67,24 +67,24 @@ const calcProps = computed(() => {
67
67
  const ret = {
68
68
  type: props?.config?.displayType,
69
69
  title: lang.value?.indexOf('zh') > -1 ? props.config?.metaNameZh : props.config?.metaNameEn,
70
- readonly: props?.config?.readonly === '1',
71
- tiled: props?.config?.tiled === '1',
70
+ readonly: props?.config?.readonly == '1',
71
+ tiled: props?.config?.tiled == '1',
72
72
  mindate: props?.config?.mindate,
73
73
  maxdate: props?.config?.maxdate,
74
- hidemark: props?.config?.hidemark === '1',
75
- hidetitle: props?.config?.hidetitle === '1',
76
- hidesubtitle: props?.config?.hidesubtitle === '1',
77
- hideconfirm: props?.config?.hideconfirm === '1',
78
- eagerrender: props?.config?.eagerrender === '1',
74
+ hidemark: props?.config?.hidemark == '1',
75
+ hidetitle: props?.config?.hidetitle == '1',
76
+ hidesubtitle: props?.config?.hidesubtitle == '1',
77
+ hideconfirm: props?.config?.hideconfirm == '1',
78
+ eagerrender: props?.config?.eagerrender == '1',
79
79
  confirmtext: props?.config?.confirmtext,
80
80
  confirmdisabledtext: props?.config?.confirmdisabledtext,
81
81
  weekfirstday: props?.config?.weekfirstday,
82
- forbidmaskclick: props?.config?.forbidmaskclick === '1',
82
+ forbidmaskclick: props?.config?.forbidmaskclick == '1',
83
83
 
84
84
  maxrange: props?.config?.maxrange,
85
85
  rangeprompt: props?.config?.rangeprompt,
86
- hiderangeprompt: props?.config?.hiderangeprompt === '1',
87
- allowsameday: props?.config?.allowsameday === '1',
86
+ hiderangeprompt: props?.config?.hiderangeprompt == '1',
87
+ allowsameday: props?.config?.allowsameday == '1',
88
88
  }
89
89
  return ret
90
90
  })
@@ -64,10 +64,10 @@ const calcProps = computed(() => {
64
64
  desc,
65
65
  content: props.config?.content,
66
66
  to: props.config?.toHref,
67
- islink: props.config?.islink === '1',
67
+ islink: props.config?.islink == '1',
68
68
  icon: props.config?.icon,
69
- selfadaption: hasOwn(props.config, 'selfadaption') ? props.config.selfadaption === '1' : true,
70
- noborder: props.config?.noborder === '1' || props.config?.borderHidden === '1',
69
+ selfadaption: hasOwn(props.config, 'selfadaption') ? props.config.selfadaption == '1' : true,
70
+ noborder: props.config?.noborder == '1' || props.config?.borderHidden == '1',
71
71
  }
72
72
  })
73
73
  const attrs = useAttrs()
@@ -27,8 +27,8 @@ const checkboxProps = computed(() => {
27
27
  label: lang?.value?.indexOf('zh') > -1 ? props.config?.metaNameZh : props.config?.metaNameEn,
28
28
  size: props?.config?.size,
29
29
  disabled: props.disabled,
30
- block: props?.config?.block === '1',
31
- indeterminate: props?.config?.indeterminate === '1',
30
+ block: props?.config?.block == '1',
31
+ indeterminate: props?.config?.indeterminate == '1',
32
32
  }
33
33
  })
34
34
  const attrs = useAttrs()
@@ -10,7 +10,7 @@ const props = defineProps({
10
10
  })
11
11
  const open = computed({
12
12
  get() {
13
- return props?.config?.open === '1'
13
+ return props?.config?.open == '1'
14
14
  },
15
15
  set(val) {
16
16
  props.config.open = val ? '1' : '0'
@@ -44,7 +44,7 @@ const calcProps = computed(() => {
44
44
  const ret = {
45
45
  type: props?.config?.displayType,
46
46
  title: lang.value?.indexOf('zh') > -1 ? props.config?.metaNameZh : props.config?.metaNameEn,
47
- forbidmaskclick: props?.config?.forbidmaskclick === '1',
47
+ forbidmaskclick: props?.config?.forbidmaskclick == '1',
48
48
  mindate: props?.config?.mindate,
49
49
  maxdate: props?.config?.maxdate,
50
50
  minhour: props?.config?.minhour,
@@ -25,12 +25,12 @@ const inputProps = computed(() => {
25
25
  max: props.config?.max,
26
26
  maxlength: props.config?.maxLength,
27
27
  disabled: props.disabled,
28
- readonly: props.config?.readonly ==='1',
28
+ readonly: props.config?.readonly =='1',
29
29
  required: props.required,
30
30
  errormsg: props.config?.errormsg,
31
31
  clearable: props.clearable && !props.disabled,
32
- showWordLimit: props.config?.showWordLimit === '1' && props.config?.maxLength,
33
- showPassword: props.config?.showPassword === '1',
32
+ showWordLimit: props.config?.showWordLimit == '1' && props.config?.maxLength,
33
+ showPassword: props.config?.showPassword == '1',
34
34
  prefixIcon: props.config?.prefixIcon,
35
35
  suffixIcon: props.config?.suffixIcon,
36
36
  minRows: props.config?.minRows,
@@ -12,7 +12,7 @@ const props = defineProps({
12
12
  })
13
13
  const open = computed({
14
14
  get() {
15
- return props?.config?.open === '1'
15
+ return props?.config?.open == '1'
16
16
  },
17
17
  set(val) {
18
18
  props.config.open = val ? '1' : '0'
@@ -11,14 +11,14 @@ const calcProps = computed(() => {
11
11
  return {
12
12
  shape: props.config?.shape,
13
13
  dark: props.config?.dark,
14
- showback: props.config?.showback === '1',
15
- showaction: props.config?.showaction === '1',
14
+ showback: props.config?.showback == '1',
15
+ showaction: props.config?.showaction == '1',
16
16
  actiontext: props.config?.actiontext,
17
17
  iconcolor: props.config?.iconcolor,
18
18
  placeholder: lang?.value?.indexOf('zh') > -1 ? props.config?.defPlacehold : props.config?.defPlaceholdEn,
19
19
  maxlength: props.config?.maxlength,
20
20
  autofocus: props.config?.autofocus,
21
- clearable: props.config?.clearable === '1',
21
+ clearable: props.config?.clearable == '1',
22
22
  disabled: props.disabled,
23
23
  readonly: props.readonly,
24
24
  noborder: props.config?.noborder,
@@ -11,7 +11,7 @@ const tabProps = computed(() => {
11
11
  return {
12
12
  label: lang.value.indexOf('zh') > -1 ? props.config?.metaNameZh : props.config?.metaNameEn,
13
13
  name: props.config?.metaCode,
14
- disabled: props.config?.editFlag === '0'
14
+ disabled: props.config?.editFlag == '0'
15
15
  }
16
16
  })
17
17
  const modelValue = defineModel()
@@ -20,11 +20,11 @@ const isFrontPage = computed(() => {
20
20
  })
21
21
  const tableProps = computed(() => {
22
22
  return {
23
- stripe: props.config?.stripe === '1',
24
- card: props.config?.displayType === 'card',
23
+ stripe: props.config?.stripe == '1',
24
+ card: props.config?.displayType == 'card',
25
25
  display: props.config?.display,
26
- open: props.config?.defaultOpenFlag === '1',
27
- showlandscape: props.config?.showLandscape === '1',
26
+ open: props.config?.defaultOpenFlag == '1',
27
+ showlandscape: props.config?.showLandscape == '1',
28
28
  rowkey: props.config?.rowkey,
29
29
  height: props.config?.height,
30
30
  }
@@ -53,7 +53,7 @@ const normalPageTotal = computed(() => {
53
53
  const paginationProps = computed(() => {
54
54
  return {
55
55
  pagesizes: props.config?.pagesizes || [3, 10, 20, 50],
56
- showHomeEnd: hasOwn(props.config, 'showHomeEnd') ? props.config.showHomeEnd === '1' : hasOwn(props.config, 'show-home-end') ? props.config['show-home-end'] === '1' : false,
56
+ showHomeEnd: hasOwn(props.config, 'showHomeEnd') ? props.config.showHomeEnd == '1' : hasOwn(props.config, 'show-home-end') ? props.config['show-home-end'] == '1' : false,
57
57
  }
58
58
  })
59
59
  const pagenationEvents = computed(() => {
@@ -142,8 +142,8 @@ const getTableColumnProps = (config) => {
142
142
  label,
143
143
  prop: config.metaCode,
144
144
  width: config.columnWidth || props.config.columnWidth,
145
- ellipsis: config.ellipsis === '1',
146
- showexpand: config.showexpand === '1',
145
+ ellipsis: config.ellipsis == '1',
146
+ showexpand: config.showexpand == '1',
147
147
  fixed: config.fixed,
148
148
  }
149
149
  }
@@ -17,7 +17,7 @@ const tabpanes = computed(() => {
17
17
 
18
18
  const activeNames = computed({
19
19
  get() {
20
- const currentTab = tabpanes.value.find(tab => tab.defaultShowFlag === '1')
20
+ const currentTab = tabpanes.value.find(tab => tab.defaultShowFlag == '1')
21
21
  const currentCycleTab = tabpanes.value.find(tab => tab.currentCode)
22
22
  return (currentTab && currentTab.metaCode)
23
23
  || (currentCycleTab && currentCycleTab.currentCode)
@@ -48,7 +48,8 @@ const tabProps = computed(() => {
48
48
  sticky: props.config?.sticky == '1',
49
49
  offsettop: (props.config?.offsetTop || '0') + 'vw',
50
50
  type: props.config.displayType || props.config.tabType,
51
- title: lang.value?.indexOf('zh') > -1 ? props.config.metaNameZh : props.config.metaNameEn
51
+ title: lang.value?.indexOf('zh') > -1 ? props.config.metaNameZh : props.config.metaNameEn,
52
+ stopSlide: props.config?.stopSlide ?? true
52
53
  }
53
54
  })
54
55
 
@@ -6,6 +6,9 @@
6
6
  & > .el-form-item__label {
7
7
  display: none;
8
8
  }
9
+ & > .el-form-item__label-wrap {
10
+ display: none;
11
+ }
9
12
  }
10
13
  .content-right {
11
14
  .el-form-item__content {