@steedos-widgets/amis-lib 1.2.42 → 1.2.43
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/cjs/tsconfig.tsbuildinfo +1 -1
- package/dist/index.cjs.js +8 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +8 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +8 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
package/dist/index.umd.js
CHANGED
|
@@ -7989,6 +7989,12 @@ crudService && crudService.setData({showFieldsFilter: toShowFieldsFilter});
|
|
|
7989
7989
|
if(field.type === 'textarea'){
|
|
7990
7990
|
className += 'min-w-56';
|
|
7991
7991
|
}
|
|
7992
|
+
if(field.type === 'date'){
|
|
7993
|
+
className += 'date-min-w';
|
|
7994
|
+
}
|
|
7995
|
+
if(field.type === 'datetime'){
|
|
7996
|
+
className += 'datetime-min-w';
|
|
7997
|
+
}
|
|
7992
7998
|
if(!field.hidden && !field.extra){
|
|
7993
7999
|
columnItem = Object.assign({}, {
|
|
7994
8000
|
name: field.name,
|
|
@@ -8050,7 +8056,7 @@ crudService && crudService.setData({showFieldsFilter: toShowFieldsFilter});
|
|
|
8050
8056
|
let isNewLine = false;
|
|
8051
8057
|
let isLeft = true;
|
|
8052
8058
|
let lineChildrenClassName = "";
|
|
8053
|
-
let lineClassName = "flex items-center justify-between
|
|
8059
|
+
let lineClassName = "flex items-center justify-between";
|
|
8054
8060
|
tpls.forEach(function(item){
|
|
8055
8061
|
if(isNewLine && lines.length < maxLineCount){
|
|
8056
8062
|
lines.push({
|
|
@@ -8063,7 +8069,7 @@ crudService && crudService.setData({showFieldsFilter: toShowFieldsFilter});
|
|
|
8063
8069
|
}
|
|
8064
8070
|
if(isLeft){
|
|
8065
8071
|
// 左侧半行
|
|
8066
|
-
lineChildrenClassName = "steedos-listview-item-left truncate";
|
|
8072
|
+
lineChildrenClassName = "steedos-listview-item-left two-lines-truncate";
|
|
8067
8073
|
if(item.field.is_wide){
|
|
8068
8074
|
// 左侧全行样式可以单独写
|
|
8069
8075
|
lineChildrenClassName = "steedos-listview-item-wide truncate";
|