Browse Source

Merge branch 'master' of ssh://code.fineres.com:7999/~teller/fineui

es6
iapyang 3 years ago
parent
commit
e62d373648
  1. 2
      dist/2.0/fineui.css
  2. 4
      dist/2.0/fineui.ie.min.js
  3. 2
      dist/2.0/fineui.ie.min.js.map
  4. 32
      dist/2.0/fineui.js
  5. 2
      dist/2.0/fineui.js.map
  6. 2
      dist/2.0/fineui.min.css
  7. 4
      dist/2.0/fineui.min.js
  8. 2
      dist/2.0/fineui.min.js.map
  9. 2
      dist/2.0/fineui_without_normalize.css
  10. 2
      dist/2.0/fineui_without_normalize.min.css
  11. 2
      dist/core.css
  12. 32
      dist/core.js
  13. 2
      dist/core.js.map
  14. 2
      dist/demo.css
  15. 32
      dist/demo.js
  16. 2
      dist/demo.js.map
  17. 2
      dist/fineui.css
  18. 4
      dist/fineui.ie.min.js
  19. 2
      dist/fineui.ie.min.js.map
  20. 32
      dist/fineui.js
  21. 2
      dist/fineui.js.map
  22. 2
      dist/fineui.min.css
  23. 4
      dist/fineui.min.js
  24. 2
      dist/fineui.min.js.map
  25. 2
      dist/fineui.proxy.css
  26. 32
      dist/fineui.proxy.js
  27. 2
      dist/fineui.proxy.js.map
  28. 2
      dist/fineui.proxy.min.css
  29. 4
      dist/fineui.proxy.min.js
  30. 2
      dist/fineui.proxy.min.js.map
  31. 32
      dist/fineui_without_jquery_polyfill.js
  32. 2
      dist/fineui_without_jquery_polyfill.js.map
  33. 2
      dist/font.css
  34. BIN
      dist/font/iconfont.eot
  35. 6
      dist/font/iconfont.svg
  36. BIN
      dist/font/iconfont.ttf
  37. BIN
      dist/font/iconfont.woff
  38. BIN
      dist/font/iconfont.woff2
  39. 4
      dist/lib/core/ob.d.ts
  40. 2
      dist/resource.css
  41. 2
      dist/utils.js
  42. 2
      dist/utils.min.js
  43. 2
      package.json
  44. 12
      src/case/toolbar/toolbar.multiselect.js
  45. 15
      src/widget/dynamicdate/dynamicdate.card.js
  46. 3
      src/widget/dynamicdate/dynamicdate.param.item.js
  47. 4
      typescript/core/ob.ts

2
dist/2.0/fineui.css vendored

File diff suppressed because one or more lines are too long

4
dist/2.0/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.ie.min.js.map vendored

File diff suppressed because one or more lines are too long

32
dist/2.0/fineui.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-4-20 6:00:24 PM */
/*! time: 2021-4-25 11:20:28 AM */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -41804,7 +41804,9 @@ BI.MultiSelectBar = BI.inherit(BI.BasicButton, {
return selectedValues.length > 0;
},
halfSelected: false,
iconWrapperWidth: 26
iconWrapperWidth: 26,
iconWidth: 16,
iconHeight: 16,
});
},
_init: function () {
@ -41819,7 +41821,9 @@ BI.MultiSelectBar = BI.inherit(BI.BasicButton, {
self.setSelected(self.isSelected());
},
selected: isSelect,
invisible: isHalfSelect
invisible: isHalfSelect,
iconWidth: o.iconWidth,
iconHeight: o.iconHeight
});
this.half = BI.createWidget({
type: "bi.half_icon_button",
@ -41827,7 +41831,9 @@ BI.MultiSelectBar = BI.inherit(BI.BasicButton, {
handler: function () {
self.setSelected(true);
},
invisible: isSelect || !isHalfSelect
invisible: isSelect || !isHalfSelect,
iconWidth: o.iconWidth,
iconHeight: o.iconHeight
});
this.checkbox.on(BI.Controller.EVENT_CHANGE, function () {
self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.CLICK, self.isSelected(), self);
@ -45926,7 +45932,8 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
this.setValue(self._checkPositionValue(this.getValue()[0]));
self.position = this.getValue()[0];
this.setValue(self.position);
self.fireEvent("EVENT_CHANGE");
}
}]
@ -45942,7 +45949,8 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
this.setValue(self._checkPositionValue(this.getValue()[0]));
self.position = this.getValue()[0];
this.setValue(self.position);
self.fireEvent("EVENT_CHANGE");
}
}]
@ -45954,15 +45962,6 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
return items;
},
_checkPositionValue: function (v) {
var lastPosition = this.position;
this.position = v;
if (!this._checkDate({})) {
this.position = lastPosition;
}
return this.position;
},
_checkDate: function (obj) {
var o = this.options;
var date = BI.DynamicDateHelper.getCalculation(BI.extend(this._getValue(), this._digestDateTypeValue(obj)));
@ -46599,9 +46598,6 @@ BI.DynamicDateParamItem = BI.inherit(BI.Widget, {
listeners: [{
eventName: BI.TextValueCombo.EVENT_CHANGE,
action: function () {
if (!o.validationChecker(self.getValue())) {
self.editor.setValue(0);
}
self.fireEvent(BI.DynamicDateParamItem.EVENT_CHANGE);
}
}]

2
dist/2.0/fineui.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/2.0/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.min.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui_without_normalize.css vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui_without_normalize.min.css vendored

File diff suppressed because one or more lines are too long

2
dist/core.css vendored

File diff suppressed because one or more lines are too long

32
dist/core.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-4-20 6:00:24 PM */
/*! time: 2021-4-25 11:20:28 AM */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -41804,7 +41804,9 @@ BI.MultiSelectBar = BI.inherit(BI.BasicButton, {
return selectedValues.length > 0;
},
halfSelected: false,
iconWrapperWidth: 26
iconWrapperWidth: 26,
iconWidth: 16,
iconHeight: 16,
});
},
_init: function () {
@ -41819,7 +41821,9 @@ BI.MultiSelectBar = BI.inherit(BI.BasicButton, {
self.setSelected(self.isSelected());
},
selected: isSelect,
invisible: isHalfSelect
invisible: isHalfSelect,
iconWidth: o.iconWidth,
iconHeight: o.iconHeight
});
this.half = BI.createWidget({
type: "bi.half_icon_button",
@ -41827,7 +41831,9 @@ BI.MultiSelectBar = BI.inherit(BI.BasicButton, {
handler: function () {
self.setSelected(true);
},
invisible: isSelect || !isHalfSelect
invisible: isSelect || !isHalfSelect,
iconWidth: o.iconWidth,
iconHeight: o.iconHeight
});
this.checkbox.on(BI.Controller.EVENT_CHANGE, function () {
self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.CLICK, self.isSelected(), self);
@ -45926,7 +45932,8 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
this.setValue(self._checkPositionValue(this.getValue()[0]));
self.position = this.getValue()[0];
this.setValue(self.position);
self.fireEvent("EVENT_CHANGE");
}
}]
@ -45942,7 +45949,8 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
this.setValue(self._checkPositionValue(this.getValue()[0]));
self.position = this.getValue()[0];
this.setValue(self.position);
self.fireEvent("EVENT_CHANGE");
}
}]
@ -45954,15 +45962,6 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
return items;
},
_checkPositionValue: function (v) {
var lastPosition = this.position;
this.position = v;
if (!this._checkDate({})) {
this.position = lastPosition;
}
return this.position;
},
_checkDate: function (obj) {
var o = this.options;
var date = BI.DynamicDateHelper.getCalculation(BI.extend(this._getValue(), this._digestDateTypeValue(obj)));
@ -46599,9 +46598,6 @@ BI.DynamicDateParamItem = BI.inherit(BI.Widget, {
listeners: [{
eventName: BI.TextValueCombo.EVENT_CHANGE,
action: function () {
if (!o.validationChecker(self.getValue())) {
self.editor.setValue(0);
}
self.fireEvent(BI.DynamicDateParamItem.EVENT_CHANGE);
}
}]

2
dist/core.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/demo.css vendored

File diff suppressed because one or more lines are too long

32
dist/demo.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-4-20 6:00:24 PM */
/*! time: 2021-4-25 11:20:28 AM */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -41804,7 +41804,9 @@ BI.MultiSelectBar = BI.inherit(BI.BasicButton, {
return selectedValues.length > 0;
},
halfSelected: false,
iconWrapperWidth: 26
iconWrapperWidth: 26,
iconWidth: 16,
iconHeight: 16,
});
},
_init: function () {
@ -41819,7 +41821,9 @@ BI.MultiSelectBar = BI.inherit(BI.BasicButton, {
self.setSelected(self.isSelected());
},
selected: isSelect,
invisible: isHalfSelect
invisible: isHalfSelect,
iconWidth: o.iconWidth,
iconHeight: o.iconHeight
});
this.half = BI.createWidget({
type: "bi.half_icon_button",
@ -41827,7 +41831,9 @@ BI.MultiSelectBar = BI.inherit(BI.BasicButton, {
handler: function () {
self.setSelected(true);
},
invisible: isSelect || !isHalfSelect
invisible: isSelect || !isHalfSelect,
iconWidth: o.iconWidth,
iconHeight: o.iconHeight
});
this.checkbox.on(BI.Controller.EVENT_CHANGE, function () {
self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.CLICK, self.isSelected(), self);
@ -45926,7 +45932,8 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
this.setValue(self._checkPositionValue(this.getValue()[0]));
self.position = this.getValue()[0];
this.setValue(self.position);
self.fireEvent("EVENT_CHANGE");
}
}]
@ -45942,7 +45949,8 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
this.setValue(self._checkPositionValue(this.getValue()[0]));
self.position = this.getValue()[0];
this.setValue(self.position);
self.fireEvent("EVENT_CHANGE");
}
}]
@ -45954,15 +45962,6 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
return items;
},
_checkPositionValue: function (v) {
var lastPosition = this.position;
this.position = v;
if (!this._checkDate({})) {
this.position = lastPosition;
}
return this.position;
},
_checkDate: function (obj) {
var o = this.options;
var date = BI.DynamicDateHelper.getCalculation(BI.extend(this._getValue(), this._digestDateTypeValue(obj)));
@ -46599,9 +46598,6 @@ BI.DynamicDateParamItem = BI.inherit(BI.Widget, {
listeners: [{
eventName: BI.TextValueCombo.EVENT_CHANGE,
action: function () {
if (!o.validationChecker(self.getValue())) {
self.editor.setValue(0);
}
self.fireEvent(BI.DynamicDateParamItem.EVENT_CHANGE);
}
}]

2
dist/demo.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.css vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.ie.min.js.map vendored

File diff suppressed because one or more lines are too long

32
dist/fineui.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-4-20 6:00:24 PM */
/*! time: 2021-4-25 11:20:28 AM */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -41804,7 +41804,9 @@ BI.MultiSelectBar = BI.inherit(BI.BasicButton, {
return selectedValues.length > 0;
},
halfSelected: false,
iconWrapperWidth: 26
iconWrapperWidth: 26,
iconWidth: 16,
iconHeight: 16,
});
},
_init: function () {
@ -41819,7 +41821,9 @@ BI.MultiSelectBar = BI.inherit(BI.BasicButton, {
self.setSelected(self.isSelected());
},
selected: isSelect,
invisible: isHalfSelect
invisible: isHalfSelect,
iconWidth: o.iconWidth,
iconHeight: o.iconHeight
});
this.half = BI.createWidget({
type: "bi.half_icon_button",
@ -41827,7 +41831,9 @@ BI.MultiSelectBar = BI.inherit(BI.BasicButton, {
handler: function () {
self.setSelected(true);
},
invisible: isSelect || !isHalfSelect
invisible: isSelect || !isHalfSelect,
iconWidth: o.iconWidth,
iconHeight: o.iconHeight
});
this.checkbox.on(BI.Controller.EVENT_CHANGE, function () {
self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.CLICK, self.isSelected(), self);
@ -45926,7 +45932,8 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
this.setValue(self._checkPositionValue(this.getValue()[0]));
self.position = this.getValue()[0];
this.setValue(self.position);
self.fireEvent("EVENT_CHANGE");
}
}]
@ -45942,7 +45949,8 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
this.setValue(self._checkPositionValue(this.getValue()[0]));
self.position = this.getValue()[0];
this.setValue(self.position);
self.fireEvent("EVENT_CHANGE");
}
}]
@ -45954,15 +45962,6 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
return items;
},
_checkPositionValue: function (v) {
var lastPosition = this.position;
this.position = v;
if (!this._checkDate({})) {
this.position = lastPosition;
}
return this.position;
},
_checkDate: function (obj) {
var o = this.options;
var date = BI.DynamicDateHelper.getCalculation(BI.extend(this._getValue(), this._digestDateTypeValue(obj)));
@ -46599,9 +46598,6 @@ BI.DynamicDateParamItem = BI.inherit(BI.Widget, {
listeners: [{
eventName: BI.TextValueCombo.EVENT_CHANGE,
action: function () {
if (!o.validationChecker(self.getValue())) {
self.editor.setValue(0);
}
self.fireEvent(BI.DynamicDateParamItem.EVENT_CHANGE);
}
}]

2
dist/fineui.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.min.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.proxy.css vendored

File diff suppressed because one or more lines are too long

32
dist/fineui.proxy.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-4-20 6:00:24 PM */
/*! time: 2021-4-25 11:20:28 AM */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -39265,7 +39265,9 @@ BI.MultiSelectBar = BI.inherit(BI.BasicButton, {
return selectedValues.length > 0;
},
halfSelected: false,
iconWrapperWidth: 26
iconWrapperWidth: 26,
iconWidth: 16,
iconHeight: 16,
});
},
_init: function () {
@ -39280,7 +39282,9 @@ BI.MultiSelectBar = BI.inherit(BI.BasicButton, {
self.setSelected(self.isSelected());
},
selected: isSelect,
invisible: isHalfSelect
invisible: isHalfSelect,
iconWidth: o.iconWidth,
iconHeight: o.iconHeight
});
this.half = BI.createWidget({
type: "bi.half_icon_button",
@ -39288,7 +39292,9 @@ BI.MultiSelectBar = BI.inherit(BI.BasicButton, {
handler: function () {
self.setSelected(true);
},
invisible: isSelect || !isHalfSelect
invisible: isSelect || !isHalfSelect,
iconWidth: o.iconWidth,
iconHeight: o.iconHeight
});
this.checkbox.on(BI.Controller.EVENT_CHANGE, function () {
self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.CLICK, self.isSelected(), self);
@ -43387,7 +43393,8 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
this.setValue(self._checkPositionValue(this.getValue()[0]));
self.position = this.getValue()[0];
this.setValue(self.position);
self.fireEvent("EVENT_CHANGE");
}
}]
@ -43403,7 +43410,8 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
this.setValue(self._checkPositionValue(this.getValue()[0]));
self.position = this.getValue()[0];
this.setValue(self.position);
self.fireEvent("EVENT_CHANGE");
}
}]
@ -43415,15 +43423,6 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
return items;
},
_checkPositionValue: function (v) {
var lastPosition = this.position;
this.position = v;
if (!this._checkDate({})) {
this.position = lastPosition;
}
return this.position;
},
_checkDate: function (obj) {
var o = this.options;
var date = BI.DynamicDateHelper.getCalculation(BI.extend(this._getValue(), this._digestDateTypeValue(obj)));
@ -44060,9 +44059,6 @@ BI.DynamicDateParamItem = BI.inherit(BI.Widget, {
listeners: [{
eventName: BI.TextValueCombo.EVENT_CHANGE,
action: function () {
if (!o.validationChecker(self.getValue())) {
self.editor.setValue(0);
}
self.fireEvent(BI.DynamicDateParamItem.EVENT_CHANGE);
}
}]

2
dist/fineui.proxy.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.proxy.min.css vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.proxy.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.proxy.min.js.map vendored

File diff suppressed because one or more lines are too long

32
dist/fineui_without_jquery_polyfill.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-4-20 6:00:24 PM */
/*! time: 2021-4-25 11:20:28 AM */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
@ -38875,7 +38875,9 @@ BI.MultiSelectBar = BI.inherit(BI.BasicButton, {
return selectedValues.length > 0;
},
halfSelected: false,
iconWrapperWidth: 26
iconWrapperWidth: 26,
iconWidth: 16,
iconHeight: 16,
});
},
_init: function () {
@ -38890,7 +38892,9 @@ BI.MultiSelectBar = BI.inherit(BI.BasicButton, {
self.setSelected(self.isSelected());
},
selected: isSelect,
invisible: isHalfSelect
invisible: isHalfSelect,
iconWidth: o.iconWidth,
iconHeight: o.iconHeight
});
this.half = BI.createWidget({
type: "bi.half_icon_button",
@ -38898,7 +38902,9 @@ BI.MultiSelectBar = BI.inherit(BI.BasicButton, {
handler: function () {
self.setSelected(true);
},
invisible: isSelect || !isHalfSelect
invisible: isSelect || !isHalfSelect,
iconWidth: o.iconWidth,
iconHeight: o.iconHeight
});
this.checkbox.on(BI.Controller.EVENT_CHANGE, function () {
self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.CLICK, self.isSelected(), self);
@ -42997,7 +43003,8 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
this.setValue(self._checkPositionValue(this.getValue()[0]));
self.position = this.getValue()[0];
this.setValue(self.position);
self.fireEvent("EVENT_CHANGE");
}
}]
@ -43013,7 +43020,8 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
this.setValue(self._checkPositionValue(this.getValue()[0]));
self.position = this.getValue()[0];
this.setValue(self.position);
self.fireEvent("EVENT_CHANGE");
}
}]
@ -43025,15 +43033,6 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
return items;
},
_checkPositionValue: function (v) {
var lastPosition = this.position;
this.position = v;
if (!this._checkDate({})) {
this.position = lastPosition;
}
return this.position;
},
_checkDate: function (obj) {
var o = this.options;
var date = BI.DynamicDateHelper.getCalculation(BI.extend(this._getValue(), this._digestDateTypeValue(obj)));
@ -43670,9 +43669,6 @@ BI.DynamicDateParamItem = BI.inherit(BI.Widget, {
listeners: [{
eventName: BI.TextValueCombo.EVENT_CHANGE,
action: function () {
if (!o.validationChecker(self.getValue())) {
self.editor.setValue(0);
}
self.fireEvent(BI.DynamicDateParamItem.EVENT_CHANGE);
}
}]

2
dist/fineui_without_jquery_polyfill.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/font.css vendored

File diff suppressed because one or more lines are too long

BIN
dist/font/iconfont.eot vendored

Binary file not shown.

6
dist/font/iconfont.svg vendored

@ -20,6 +20,12 @@ Created by iconfont
/>
<missing-glyph />
<glyph glyph-name="huifugaitiaojichengquanxian" unicode="&#59468;" d="M871.68 288a204.8 204.8 0 1 0-204.8-354.688 32 32 0 0 0 32 55.424 140.8 140.8 0 1 1-46.912 199.68l38.976-24.512a6.4 6.4 0 0 0-1.6-11.52l-115.2-33.344a6.4 6.4 0 0 0-7.936 4.352l-0.192 0.64-20.032 118.4a6.4 6.4 0 0 0 9.728 6.464l42.048-26.368 0.768 1.152A204.8 204.8 0 0 0 871.68 288zM480 832a256 256 0 0 0 142.592-468.672 320.832 320.832 0 0 1-146.944-390.912L64-27.52a416.192 416.192 0 0 0 273.408 390.912A256 256 0 0 0 480 832z" horiz-adv-x="1024" />
<glyph glyph-name="gou2" unicode="&#59467;" d="M795.904 630.08a53.44 53.44 0 0 0 68.8-5.76 45.248 45.248 0 0 0 0-64l-429.44-429.44a64 64 0 0 0-95.232 5.312l-183.04 228.8a50.56 50.56 0 0 0 3.712 67.392 55.232 55.232 0 0 0 69.696 6.848L384.64 336.384l411.2 293.696z" horiz-adv-x="1024" />
<glyph glyph-name="dangjichuli" unicode="&#59466;" d="M169.923333 838.358271l186.257984-186.189757-11.666709-100.906798-100.906798-11.666709-186.257984 186.257984-20.740815-43.596649a375.381475 375.381475 0 0 1 73.343345-427.097061l12.417199-11.871388a375.108569 375.108569 0 0 1 340.244895-87.807336l11.803162 3.20664 172.817389-172.817389a185.712173 185.712173 0 0 1 262.671515 0l8.664749 9.278786a185.712173 185.712173 0 0 1-8.664749 253.392729L737.089127 421.222259l3.138413 11.803162A375.381475 375.381475 0 0 1 213.519982 859.23554l-43.528423-20.809043z m422.457668-100.770345a307.018654 307.018654 0 0 0 73.889157-315.205818l-6.754411-19.990326 202.154727-202.086501a117.485805 117.485805 0 0 0-166.199431-166.199432L493.384542 236.19235l-20.058552-6.686184a307.018654 307.018654 0 0 0-315.205819 73.889156l-10.711539 11.325578a307.155107 307.155107 0 0 0-69.932027 280.751502l2.933734 10.847993 138.363073-138.363074 187.281379 21.832438 21.764212 187.213153-138.363074 138.363073 10.916219 2.933734a307.155107 307.155107 0 0 0 292.008853-80.711793z" horiz-adv-x="1024" />

Before

Width:  |  Height:  |  Size: 381 KiB

After

Width:  |  Height:  |  Size: 382 KiB

BIN
dist/font/iconfont.ttf vendored

Binary file not shown.

BIN
dist/font/iconfont.woff vendored

Binary file not shown.

BIN
dist/font/iconfont.woff2 vendored

Binary file not shown.

4
dist/lib/core/ob.d.ts vendored

@ -16,7 +16,7 @@ export interface _OB {
};
on(eventName: string, fn: Function): Function;
once(eventName: string, fn: Function): void;
un(eName: string, fn: Function): void;
un(eName: string, fn?: Function): void;
_initRef(): void;
_purgeRef(): void;
purgeListeners(): void;
@ -50,7 +50,7 @@ export declare class OB {
};
on(eventName: string, fn: Function): Function;
once(eventName: string, fn: Function): void;
un(eName: string, fn: Function): void;
un(eName: string, fn?: Function): void;
_initRef(): void;
_purgeRef(): void;
purgeListeners(): void;

2
dist/resource.css vendored

File diff suppressed because one or more lines are too long

2
dist/utils.js vendored

@ -1,4 +1,4 @@
/*! time: 2021-4-20 6:00:24 PM */
/*! time: 2021-4-25 11:20:28 AM */
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

2
package.json

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

12
src/case/toolbar/toolbar.multiselect.js

@ -18,7 +18,9 @@ BI.MultiSelectBar = BI.inherit(BI.BasicButton, {
return selectedValues.length > 0;
},
halfSelected: false,
iconWrapperWidth: 26
iconWrapperWidth: 26,
iconWidth: 16,
iconHeight: 16,
});
},
_init: function () {
@ -33,7 +35,9 @@ BI.MultiSelectBar = BI.inherit(BI.BasicButton, {
self.setSelected(self.isSelected());
},
selected: isSelect,
invisible: isHalfSelect
invisible: isHalfSelect,
iconWidth: o.iconWidth,
iconHeight: o.iconHeight
});
this.half = BI.createWidget({
type: "bi.half_icon_button",
@ -41,7 +45,9 @@ BI.MultiSelectBar = BI.inherit(BI.BasicButton, {
handler: function () {
self.setSelected(true);
},
invisible: isSelect || !isHalfSelect
invisible: isSelect || !isHalfSelect,
iconWidth: o.iconWidth,
iconHeight: o.iconHeight
});
this.checkbox.on(BI.Controller.EVENT_CHANGE, function () {
self.fireEvent(BI.Controller.EVENT_CHANGE, BI.Events.CLICK, self.isSelected(), self);

15
src/widget/dynamicdate/dynamicdate.card.js

@ -173,7 +173,8 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
this.setValue(self._checkPositionValue(this.getValue()[0]));
self.position = this.getValue()[0];
this.setValue(self.position);
self.fireEvent("EVENT_CHANGE");
}
}]
@ -189,7 +190,8 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
listeners: [{
eventName: "EVENT_CHANGE",
action: function () {
this.setValue(self._checkPositionValue(this.getValue()[0]));
self.position = this.getValue()[0];
this.setValue(self.position);
self.fireEvent("EVENT_CHANGE");
}
}]
@ -201,15 +203,6 @@ BI.DynamicDateCard = BI.inherit(BI.Widget, {
return items;
},
_checkPositionValue: function (v) {
var lastPosition = this.position;
this.position = v;
if (!this._checkDate({})) {
this.position = lastPosition;
}
return this.position;
},
_checkDate: function (obj) {
var o = this.options;
var date = BI.DynamicDateHelper.getCalculation(BI.extend(this._getValue(), this._digestDateTypeValue(obj)));

3
src/widget/dynamicdate/dynamicdate.param.item.js

@ -69,9 +69,6 @@ BI.DynamicDateParamItem = BI.inherit(BI.Widget, {
listeners: [{
eventName: BI.TextValueCombo.EVENT_CHANGE,
action: function () {
if (!o.validationChecker(self.getValue())) {
self.editor.setValue(0);
}
self.fireEvent(BI.DynamicDateParamItem.EVENT_CHANGE);
}
}]

4
typescript/core/ob.ts

@ -23,7 +23,7 @@ export interface _OB {
once(eventName: string, fn: Function): void;
un(eName: string, fn: Function): void;
un(eName: string, fn?: Function): void;
_initRef(): void;
@ -71,7 +71,7 @@ export declare class OB {
once(eventName: string, fn: Function): void;
un(eName: string, fn: Function): void;
un(eName: string, fn?: Function): void;
_initRef(): void;

Loading…
Cancel
Save