resolver-egretimp-plus 0.0.269 → 0.0.271

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.269",
3
+ "version": "0.0.271",
4
4
  "description": "交付体验渲染",
5
5
  "main": "./dist/web/index.js",
6
6
  "module": "./dist/web/index.js",
@@ -135,7 +135,7 @@ const onFocus = (e) => {
135
135
 
136
136
  <template>
137
137
  <cmi-input v-if="!calcProps.tiled" :value="valueDesc" suffixIcon @focus="onFocus" v-bind="{...attrs, ...inputProps}">
138
- <div slot="suffix-icon" v-if="suffixIcon">
138
+ <div slot="suffix" v-if="suffixIcon">
139
139
  <component :is="`cmi-icon-${suffixIcon}`" color="#4E5969"></component>
140
140
  </div>
141
141
  <span slot="prefix" v-if="prefixIcon">
@@ -82,7 +82,7 @@ const onFocus = (e) => {
82
82
 
83
83
  <template>
84
84
  <cmi-input :value="formatValue" suffixIcon @focus="onFocus" v-bind="{...attrs, ...inputProps}">
85
- <div slot="suffix-icon" v-if="suffixIcon">
85
+ <div slot="suffix" v-if="suffixIcon">
86
86
  <component :is="`cmi-icon-${suffixIcon}`" color="#4E5969"></component>
87
87
  </div>
88
88
  <span slot="prefix" v-if="prefixIcon">
@@ -22,7 +22,7 @@ const prefixIcon = computed(() => {
22
22
  return props?.config?.prefixIcon
23
23
  })
24
24
  const suffixIcon = computed(() => {
25
- return props?.config?.suffixIcon
25
+ return props?.config?.suffixIcon ?? 'arrow-down'
26
26
  })
27
27
 
28
28
  const formatValue = computed({
@@ -114,7 +114,7 @@ const inputProps = computed(() => {
114
114
 
115
115
  <template>
116
116
  <cmi-input :value="modelvalDesc" suffixIcon @focus="onFocus" v-bind="{...attrs, ...inputProps}" >
117
- <div slot="suffix-icon" v-if="suffixIcon">
117
+ <div slot="suffix" v-if="suffixIcon">
118
118
  <component :is="`cmi-icon-${suffixIcon}`" color="#4E5969"></component>
119
119
  </div>
120
120
  <span slot="prefix" v-if="prefixIcon">
@@ -65,9 +65,7 @@ const renderNode = computed(() => {
65
65
  if (props.needWrap == '1') {
66
66
  return h('div', {
67
67
  class: 'cust-input-wrap',
68
- }, {
69
- default: () => textNode
70
- })
68
+ }, textNode)
71
69
  } else {
72
70
  return textNode
73
71
  }
@@ -101,7 +99,6 @@ const clickAction = (e) => {
101
99
  display: flex;
102
100
  width: 100%;
103
101
  align-items: center;
104
- justify-content: space-between;
105
102
  min-height: 32px;
106
103
  line-height: 24px;
107
104
  padding: 1px 11px;
@@ -607,13 +607,16 @@ function elColSpecialProsp (config) {
607
607
  style.flexBasis = 0
608
608
  style.maxWidth = 'unset'
609
609
  style.minWidth = 'unset'
610
+ style.maxWidth = '100%'
610
611
  } else if (config.elWidth === 'self') {
611
- style.flexGrow = 0
612
- style.flexShrink = 0
613
- style.flexBasis = 0
614
- style.maxWidth = 'unset'
612
+ // style.flexGrow = 0
613
+ // style.flexShrink = 0
614
+ // style.flexBasis = 0
615
+ // style.maxWidth = 'unset'
616
+ style.flex = 'unset'
615
617
  style.minWidth = 'unset'
616
- style.whiteSpace = 'nowrap'
618
+ style.maxWidth = '100%'
619
+ // style.whiteSpace = 'nowrap'
617
620
  } else {
618
621
  style.flexGrow = 0
619
622
  style.flexShrink = 0
@@ -680,7 +683,7 @@ function generateFormItemPc (config, lang, compProps, params,) {
680
683
  return node => {
681
684
  if (config.polyfillNode && typeof config.polyfillNode === 'function') {
682
685
  node = (
683
- <div style="width: 100%">
686
+ <div style="width: 100%; line-height: 16px;">
684
687
  {node}
685
688
  {config.polyfillNode(h, { config, props: compProps, contextNode: node })}
686
689
  </div>