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", "name": "fineui",
"version": "2.0.20211107204304", "version": "2.0.20211108191350",
"description": "fineui", "description": "fineui",
"main": "dist/fineui.min.js", "main": "dist/fineui.min.js",
"types": "dist/lib/index.d.ts", "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 = ""; this.storeTriggerValue = "";
var date = BI.getDate(); var date = BI.getDate();
this.storeValue = opts.value; this.storeValue = opts.value;
return { return {
type: "bi.absolute", type: "bi.absolute",
items: [{ items: [{
@ -250,10 +250,10 @@ BI.DynamicDateCombo = BI.inherit(BI.Single, {
self.comboWrapper = _ref; self.comboWrapper = _ref;
} }
}, },
top: 1, top: 0,
left: 1, left: 0,
right: 1, right: 0,
bottom: 1 bottom: 0
}] }]
}; };
}, },
@ -289,7 +289,7 @@ BI.DynamicDateCombo = BI.inherit(BI.Single, {
return BI.isNotEmptyObject(v.value); return BI.isNotEmptyObject(v.value);
case BI.DynamicDateCombo.Static: case BI.DynamicDateCombo.Static:
var value = v.value || {}; var value = v.value || {};
return !BI.checkDateVoid(value.year, value.month, value.day, o.minDate, o.maxDate)[0]; return !BI.checkDateVoid(value.year, value.month, value.day, o.minDate, o.maxDate)[0];
default: default:
return true; return true;

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

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

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

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

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

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

Loading…
Cancel
Save