resolver-egretimp-plus 0.0.267 → 0.0.269
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/index.css +1 -1
- package/dist/theme/element/src/components/checkbox.scss +3 -0
- package/dist/web/index.js +1 -1
- package/package.json +1 -1
- package/src/components/packages-web/CustomComponentTabPane.vue +1 -1
- package/src/theme/element/components/checkbox.scss +3 -0
- package/src/utils/render.jsx +36 -5
package/package.json
CHANGED
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
--el-checkbox-border-radius: 4px;
|
|
3
3
|
--el-checkbox-input-height: 16px;
|
|
4
4
|
--el-checkbox-input-width: 16px;
|
|
5
|
+
--el-checkbox-disabled-checked-input-fill: #646A73;
|
|
6
|
+
--el-checkbox-disabled-checked-input-border-color: #646A73;
|
|
7
|
+
--el-checkbox-disabled-checked-icon-color: #FFFFFF;
|
|
5
8
|
}
|
|
6
9
|
.el-checkbox__inner::after {
|
|
7
10
|
border: 2px solid transparent;
|
package/src/utils/render.jsx
CHANGED
|
@@ -690,10 +690,25 @@ function generateFormItemPc (config, lang, compProps, params,) {
|
|
|
690
690
|
if (isPlainColumn(config, compProps.disabled)) {
|
|
691
691
|
return node
|
|
692
692
|
}
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
693
|
+
|
|
694
|
+
let showFormItem = null
|
|
695
|
+
if (hasOwn(config, 'showFormItem')) {
|
|
696
|
+
if (typeof config.showFormItem === 'boolean') {
|
|
697
|
+
showFormItem = config.showFormItem
|
|
698
|
+
} else {
|
|
699
|
+
showFormItem = config.showFormItem == '1'
|
|
700
|
+
}
|
|
696
701
|
}
|
|
702
|
+
if (showFormItem !== null) {
|
|
703
|
+
if (!showFormItem) {
|
|
704
|
+
return node
|
|
705
|
+
}
|
|
706
|
+
} else {
|
|
707
|
+
if (!config.needformItem) {
|
|
708
|
+
return node
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
|
|
697
712
|
const slots = {}
|
|
698
713
|
slots[slotName] = () => node
|
|
699
714
|
if (isFormItem && slotName !== 'label') {
|
|
@@ -724,9 +739,25 @@ function generateFormItemH5(config, lang, compProps, params = {}) {
|
|
|
724
739
|
if (isTransCellMobile(config, compProps?.disabled)) {
|
|
725
740
|
return node
|
|
726
741
|
}
|
|
727
|
-
|
|
728
|
-
|
|
742
|
+
|
|
743
|
+
let showFormItem = null
|
|
744
|
+
if (hasOwn(config, 'showFormItem')) {
|
|
745
|
+
if (typeof config.showFormItem === 'boolean') {
|
|
746
|
+
showFormItem = config.showFormItem
|
|
747
|
+
} else {
|
|
748
|
+
showFormItem = config.showFormItem == '1'
|
|
749
|
+
}
|
|
729
750
|
}
|
|
751
|
+
if (showFormItem !== null) {
|
|
752
|
+
if (!showFormItem) {
|
|
753
|
+
return node
|
|
754
|
+
}
|
|
755
|
+
} else {
|
|
756
|
+
if (!config.needformItem) {
|
|
757
|
+
return node
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
|
|
730
761
|
return (
|
|
731
762
|
<CmiFormItem {...props}>{node}</CmiFormItem>
|
|
732
763
|
)
|