@steedos-widgets/amis-object 3.6.4 → 3.6.6
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/amis/AmisInputTable.d.ts +1 -0
- package/dist/amis-object.cjs.css +9 -11
- package/dist/amis-object.cjs.js +33 -41
- package/dist/amis-object.cjs.js.map +1 -1
- package/dist/amis-object.esm.css +9 -11
- package/dist/amis-object.esm.js +33 -41
- package/dist/amis-object.esm.js.map +1 -1
- package/dist/amis-object.umd.css +9 -11
- package/dist/amis-object.umd.js +5 -3
- package/dist/amis-object.umd.js.map +1 -1
- package/dist/assets.json +21 -21
- package/package.json +3 -3
package/dist/amis-object.cjs.css
CHANGED
|
@@ -431,6 +431,11 @@ fieldset.antd-Collapse > legend{
|
|
|
431
431
|
.antd-Transfer.antd-TabsTransfer .antd-GroupedSelection-item label.antd-Checkbox {
|
|
432
432
|
position: relative;
|
|
433
433
|
}
|
|
434
|
+
|
|
435
|
+
/* input-table表头不要分隔线,统一风格 */
|
|
436
|
+
.antd-InputTable .antd-Table-table > thead > tr > th:not(:last-child) {
|
|
437
|
+
border-right: none;
|
|
438
|
+
}
|
|
434
439
|
.ant-dropdown{
|
|
435
440
|
z-index: 1400;
|
|
436
441
|
}
|
|
@@ -686,9 +691,6 @@ fieldset.antd-Collapse > legend{
|
|
|
686
691
|
.mt-2 {
|
|
687
692
|
margin-top: 0.5rem
|
|
688
693
|
}
|
|
689
|
-
.mt-3 {
|
|
690
|
-
margin-top: 0.75rem
|
|
691
|
-
}
|
|
692
694
|
.mt-\[50px\] {
|
|
693
695
|
margin-top: 50px
|
|
694
696
|
}
|
|
@@ -797,9 +799,6 @@ fieldset.antd-Collapse > legend{
|
|
|
797
799
|
.w-8 {
|
|
798
800
|
width: 2rem
|
|
799
801
|
}
|
|
800
|
-
.w-80 {
|
|
801
|
-
width: 20rem
|
|
802
|
-
}
|
|
803
802
|
.w-96 {
|
|
804
803
|
width: 24rem
|
|
805
804
|
}
|
|
@@ -2651,9 +2650,6 @@ body.sidebar #sidebar {
|
|
|
2651
2650
|
.steedos-input-table .steedos-delete-button:hover {
|
|
2652
2651
|
color: rgb(239 68 68) !important;
|
|
2653
2652
|
}
|
|
2654
|
-
.steedos-input-table .antd-DropDown-popover .antd-PopOver-overlay {
|
|
2655
|
-
display: none;
|
|
2656
|
-
}
|
|
2657
2653
|
.steedos-input-table .antd-Table-table .antd-Table-placeholder {
|
|
2658
2654
|
display: none;
|
|
2659
2655
|
}
|
|
@@ -2668,10 +2664,12 @@ body.sidebar #sidebar {
|
|
|
2668
2664
|
display: inline-block;
|
|
2669
2665
|
width: 100%;
|
|
2670
2666
|
}
|
|
2671
|
-
.steedos-input-table.steedos-show-index tbody tr td:nth-child(1)
|
|
2672
|
-
.steedos-input-table.steedos-show-index thead tr th:nth-child(1) {
|
|
2667
|
+
.steedos-input-table.steedos-show-index tbody tr td:nth-child(1) {
|
|
2673
2668
|
text-align: center;
|
|
2674
2669
|
}
|
|
2670
|
+
.steedos-input-table.steedos-show-index thead tr th:nth-child(1) .antd-TableCell--title {
|
|
2671
|
+
visibility: hidden;
|
|
2672
|
+
}
|
|
2675
2673
|
.steedos-input-table .antd-OperationField {
|
|
2676
2674
|
width: 50px;
|
|
2677
2675
|
}
|
package/dist/amis-object.cjs.js
CHANGED
|
@@ -15149,7 +15149,8 @@ async function lookupToAmis(field, readonly, ctx){
|
|
|
15149
15149
|
const autoFill = await getAutoFill(field);
|
|
15150
15150
|
if(autoFill){
|
|
15151
15151
|
amisSchema.autoFill = autoFill;
|
|
15152
|
-
|
|
15152
|
+
// 这里不配置initAutoFill值,按amis规则initAutoFill默认值为fillIfNotSet处理--需要amis sdk 版本 > 3.6.3-patch.6(不包括)版本
|
|
15153
|
+
// amisSchema.initAutoFill = false;
|
|
15153
15154
|
}
|
|
15154
15155
|
return amisSchema;
|
|
15155
15156
|
}
|
|
@@ -17945,48 +17946,38 @@ async function getButtonView(props) {
|
|
|
17945
17946
|
|
|
17946
17947
|
async function getButtonDelete(props) {
|
|
17947
17948
|
return {
|
|
17948
|
-
"type": "
|
|
17949
|
+
"type": "button",
|
|
17949
17950
|
"level": "link",
|
|
17950
|
-
"
|
|
17951
|
+
"className": "text-gray-400 steedos-delete-button",
|
|
17951
17952
|
"icon": "fa fa-trash-alt",
|
|
17952
|
-
"
|
|
17953
|
-
"
|
|
17954
|
-
|
|
17955
|
-
|
|
17956
|
-
|
|
17957
|
-
|
|
17958
|
-
|
|
17959
|
-
|
|
17960
|
-
|
|
17961
|
-
|
|
17962
|
-
|
|
17963
|
-
|
|
17953
|
+
"actionType": "dialog",
|
|
17954
|
+
"dialog": {
|
|
17955
|
+
"title": "系统信息",
|
|
17956
|
+
"actions": [
|
|
17957
|
+
{
|
|
17958
|
+
"type": "button",
|
|
17959
|
+
"label": "取消",
|
|
17960
|
+
"close": true
|
|
17961
|
+
},
|
|
17962
|
+
{
|
|
17963
|
+
"type": "button",
|
|
17964
|
+
"label": "删除",
|
|
17965
|
+
"level": "danger",
|
|
17966
|
+
"onEvent": {
|
|
17967
|
+
"click": {
|
|
17968
|
+
"actions": await getButtonActions(props, "delete")
|
|
17969
|
+
}
|
|
17964
17970
|
},
|
|
17965
|
-
|
|
17966
|
-
|
|
17967
|
-
|
|
17968
|
-
|
|
17969
|
-
|
|
17970
|
-
|
|
17971
|
-
|
|
17972
|
-
|
|
17973
|
-
|
|
17974
|
-
|
|
17975
|
-
{
|
|
17976
|
-
"type": "button",
|
|
17977
|
-
"label": "删除",
|
|
17978
|
-
"level": "danger",
|
|
17979
|
-
"onEvent": {
|
|
17980
|
-
"click": {
|
|
17981
|
-
"actions": await getButtonActions(props, "delete")
|
|
17982
|
-
}
|
|
17983
|
-
}
|
|
17984
|
-
}
|
|
17985
|
-
]
|
|
17986
|
-
}
|
|
17987
|
-
]
|
|
17988
|
-
}
|
|
17989
|
-
]
|
|
17971
|
+
"close": true
|
|
17972
|
+
}
|
|
17973
|
+
],
|
|
17974
|
+
"body": [
|
|
17975
|
+
{
|
|
17976
|
+
"tpl": "确定要删除吗?",
|
|
17977
|
+
"type": "tpl"
|
|
17978
|
+
}
|
|
17979
|
+
]
|
|
17980
|
+
}
|
|
17990
17981
|
}
|
|
17991
17982
|
}
|
|
17992
17983
|
|
|
@@ -18189,7 +18180,8 @@ const getAmisInputTableSchema = async (props) => {
|
|
|
18189
18180
|
"body": {
|
|
18190
18181
|
"type": "service",
|
|
18191
18182
|
"body": schemaBody,
|
|
18192
|
-
"id": serviceId
|
|
18183
|
+
"id": serviceId,
|
|
18184
|
+
"className": "w-full",
|
|
18193
18185
|
},
|
|
18194
18186
|
"label": props.label,
|
|
18195
18187
|
"labelClassName": props.label ? props.labelClassName : "none",
|