dailer 3 years ago
parent
commit
e0ad07cfde
  1. 2
      package.json
  2. 12
      src/widget/dynamicdate/dynamicdate.combo.js
  3. 10
      src/widget/dynamicdatetime/dynamicdatetime.combo.js
  4. 8
      src/widget/year/combo.year.js
  5. 8
      src/widget/yearmonth/combo.yearmonth.js
  6. 8
      src/widget/yearquarter/combo.yearquarter.js
  7. 1
      typescript/base/single/button/listitem/icontextitem.ts

2
package.json

@ -1,6 +1,6 @@
{
"name": "fineui",
"version": "2.0.20211107204304",
"version": "2.0.20211108191350",
"description": "fineui",
"main": "dist/fineui.min.js",
"types": "dist/lib/index.d.ts",

12
src/widget/dynamicdate/dynamicdate.combo.js

@ -30,7 +30,7 @@ BI.DynamicDateCombo = BI.inherit(BI.Single, {
this.storeTriggerValue = "";
var date = BI.getDate();
this.storeValue = opts.value;
return {
type: "bi.absolute",
items: [{
@ -250,10 +250,10 @@ BI.DynamicDateCombo = BI.inherit(BI.Single, {
self.comboWrapper = _ref;
}
},
top: 1,
left: 1,
right: 1,
bottom: 1
top: 0,
left: 0,
right: 0,
bottom: 0
}]
};
},
@ -289,7 +289,7 @@ BI.DynamicDateCombo = BI.inherit(BI.Single, {
return BI.isNotEmptyObject(v.value);
case BI.DynamicDateCombo.Static:
var value = v.value || {};
return !BI.checkDateVoid(value.year, value.month, value.day, o.minDate, o.maxDate)[0];
default:
return true;

10
src/widget/dynamicdatetime/dynamicdatetime.combo.js

@ -30,7 +30,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, {
this.storeTriggerValue = "";
var date = BI.getDate();
this.storeValue = opts.value;
return {
type: "bi.absolute",
items: [{
@ -259,10 +259,10 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, {
self.comboWrapper = _ref;
}
},
top: 1,
left: 1,
right: 1,
bottom: 1
top: 0,
left: 0,
right: 0,
bottom: 0
}]
};
},

8
src/widget/year/combo.year.js

@ -141,10 +141,10 @@ BI.DynamicYearCombo = BI.inherit(BI.Widget, {
width: o.height - 2
}, this.combo]
},
top: 1,
left: 1,
right: 1,
bottom: 1
top: 0,
left: 0,
right: 0,
bottom: 0
}]
});
this._checkDynamicValue(o.value);

8
src/widget/yearmonth/combo.yearmonth.js

@ -145,10 +145,10 @@ BI.DynamicYearMonthCombo = BI.inherit(BI.Single, {
width: o.height - 2
}, this.combo]
},
top: 1,
left: 1,
right: 1,
bottom: 1
top: 0,
left: 0,
right: 0,
bottom: 0
}]
});
this._checkDynamicValue(o.value);

8
src/widget/yearquarter/combo.yearquarter.js

@ -145,10 +145,10 @@ BI.DynamicYearQuarterCombo = BI.inherit(BI.Widget, {
width: o.height - 2
}, this.combo]
},
top: 1,
left: 1,
right: 1,
bottom: 1
top: 0,
left: 0,
right: 0,
bottom: 0
}]
});
this._checkDynamicValue(o.value);

1
typescript/base/single/button/listitem/icontextitem.ts

@ -10,6 +10,7 @@ export declare class IconTextItem extends BasicButton {
dynamic: boolean;
};
iconWrapperWidth?: number;
iconCls?: string;
iconHeight?: number;
iconWidth?: number;
textHgap?: number;

Loading…
Cancel
Save