resolver-egretimp-plus 0.0.245 → 0.0.247
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/dist/h5/index.js +1 -1
- package/dist/theme/element/src/components/cycle.scss +0 -0
- package/dist/theme/element/src/components/index.scss +1 -0
- package/dist/web/index.js +28 -28
- package/package.json +1 -1
- package/src/analysisComponent.jsx +4 -0
- package/src/components/childDialog/src/index.vue +9 -5
- package/src/components/helper/eventOrchestration.js +1 -0
- package/src/components/packages-web/CustomComponentTable.jsx +1 -1
- package/src/theme/element/components/cycle.scss +0 -0
- package/src/theme/element/components/index.scss +1 -0
package/package.json
CHANGED
|
@@ -73,6 +73,8 @@ export default {
|
|
|
73
73
|
const validate = inject('_validate')
|
|
74
74
|
|
|
75
75
|
const selects = inject('selects')
|
|
76
|
+
const _parentRootValue = inject('_parentRootValue')
|
|
77
|
+
const _parentDynamicMapComp = inject('_parentDynamicMapComp')
|
|
76
78
|
|
|
77
79
|
definePrivatelyProp(props.config, '_rootValue', rootValue)
|
|
78
80
|
definePrivatelyProp(props.config, 'router', router)
|
|
@@ -80,6 +82,8 @@ export default {
|
|
|
80
82
|
definePrivatelyProp(props.config, '_validate', validate)
|
|
81
83
|
definePrivatelyProp(props.config, '_rowScope', props.rowScope)
|
|
82
84
|
definePrivatelyProp(props.config, '_selects', selects)
|
|
85
|
+
definePrivatelyProp(props.config, '_parentRootValue', _parentRootValue)
|
|
86
|
+
definePrivatelyProp(props.config, '_parentDynamicMapComp', _parentDynamicMapComp)
|
|
83
87
|
// 当前组件的实例
|
|
84
88
|
const instance = getCurrentInstance()
|
|
85
89
|
const appContext = instance?.appContext
|
|
@@ -52,7 +52,10 @@ const props = defineProps({
|
|
|
52
52
|
type: Object,
|
|
53
53
|
default: () => ({})
|
|
54
54
|
},
|
|
55
|
-
|
|
55
|
+
parentSelects: {
|
|
56
|
+
type: Object,
|
|
57
|
+
default: () => ({})
|
|
58
|
+
},
|
|
56
59
|
selectionsObj: {
|
|
57
60
|
type: Object,
|
|
58
61
|
// selections
|
|
@@ -94,9 +97,6 @@ const dialogProps = computed(() => {
|
|
|
94
97
|
if (props.dialogProps?.titleEn && props.lang?.indexOf('zh') == -1) {
|
|
95
98
|
ret.title = props.dialogProps?.titleEn
|
|
96
99
|
}
|
|
97
|
-
if (!ret.title) {
|
|
98
|
-
ret['headerClass'] = ret['headerClass'] ? `${ret['headerClass']} hidden-head` : 'hidden-head'
|
|
99
|
-
}
|
|
100
100
|
return ret
|
|
101
101
|
})
|
|
102
102
|
|
|
@@ -129,6 +129,9 @@ defineExpose({
|
|
|
129
129
|
v-bind="dialogProps"
|
|
130
130
|
:width="dialogWidth"
|
|
131
131
|
v-model="dialogVisible"
|
|
132
|
+
:class="{
|
|
133
|
+
'hidden-head': !dialogProps.title
|
|
134
|
+
}"
|
|
132
135
|
:style="dialogStyle"
|
|
133
136
|
>
|
|
134
137
|
<div>
|
|
@@ -142,6 +145,7 @@ defineExpose({
|
|
|
142
145
|
:selectionsObj="props.selectionsObj"
|
|
143
146
|
:busiIdentityId="busiIdentityId"
|
|
144
147
|
:lang="props.lang"
|
|
148
|
+
:selects="parentSelects"
|
|
145
149
|
:buttonActions="props.buttonActions"
|
|
146
150
|
:dialogReq="props.loadEvnetsReq"
|
|
147
151
|
:polyfillConfigs="props.polyfillConfigs"
|
|
@@ -168,7 +172,7 @@ defineExpose({
|
|
|
168
172
|
.el-dialog__header {
|
|
169
173
|
min-height: 40px;
|
|
170
174
|
}
|
|
171
|
-
|
|
175
|
+
&.hidden-head {
|
|
172
176
|
& > .el-dialog__header {
|
|
173
177
|
display: none;
|
|
174
178
|
}
|
|
@@ -404,7 +404,7 @@ export default {
|
|
|
404
404
|
attrs.background = true
|
|
405
405
|
}
|
|
406
406
|
if (!hasOwn(attrs, 'layout')) {
|
|
407
|
-
attrs.layout = 'prev, pager, next, sizes,
|
|
407
|
+
attrs.layout = 'prev, pager, next, jumper, sizes, total'
|
|
408
408
|
}
|
|
409
409
|
if (!hasOwn(attrs, 'page-sizes') && !hasOwn(attrs, 'pageSizes')) {
|
|
410
410
|
attrs.pageSizes = [5, 10, 20, 40]
|
|
File without changes
|