windy 6 years ago
parent
commit
1d7fbb684c
  1. 4
      demo/version.js
  2. 26
      dist/_fineui.min.js
  3. 8
      dist/bundle.js
  4. 24
      dist/bundle.min.js
  5. 4
      dist/config.js
  6. 105
      dist/demo.js
  7. 8
      dist/fineui.js
  8. 26
      dist/fineui.min.js
  9. 4
      dist/widget.js
  10. 4
      public/js/index.js
  11. 4
      src/widget/numberinterval/numberinterval.js
  12. 4
      ui/js/index.js

4
demo/version.js

@ -161,5 +161,7 @@ BI.i18n = {
"BI-Font_Family": "字体",
"BI-Basic_Please_Input_Content": "请输入内容",
"BI-Basic_Please_Enter_Number_Between": "请输入{R1}-{R2}的值",
"BI-Word_Align_Center": "文字居中"
"BI-Word_Align_Center": "文字居中",
"BI-More_Than": "大于",
"BI-More_And_Equal": "大于等于"
};

26
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

8
dist/bundle.js vendored

@ -101094,11 +101094,11 @@ BI.NumberInterval = BI.inherit(BI.Single, {
cls: "number-interval-small-combo bi-border",
height: o.height - 2,
items: [{
text: "(" + BI.i18nText("BI-Less_Than") + ")",
text: "(" + BI.i18nText("BI-More_Than") + ")",
iconCls: "less-font",
value: 0
}, {
text: "(" + BI.i18nText("BI-Less_And_Equal") + ")",
text: "(" + BI.i18nText("BI-More_And_Equal") + ")",
value: 1,
iconCls: "less-equal-font"
}]
@ -112767,5 +112767,7 @@ BI.i18n = {
"BI-Font_Family": "字体",
"BI-Basic_Please_Input_Content": "请输入内容",
"BI-Word_Align_Center": "文字居中",
"BI-Basic_Please_Enter_Number_Between": "请输入{R1}-{R2}的值"
"BI-Basic_Please_Enter_Number_Between": "请输入{R1}-{R2}的值",
"BI-More_Than": "大于",
"BI-More_And_Equal": "大于等于"
};

24
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

4
dist/config.js vendored

@ -161,5 +161,7 @@ BI.i18n = {
"BI-Font_Family": "字体",
"BI-Basic_Please_Input_Content": "请输入内容",
"BI-Basic_Please_Enter_Number_Between": "请输入{R1}-{R2}的值",
"BI-Word_Align_Center": "文字居中"
"BI-Word_Align_Center": "文字居中",
"BI-More_Than": "大于",
"BI-More_And_Equal": "大于等于"
};

105
dist/demo.js vendored

@ -11014,6 +11014,111 @@ BI.shortcut("demo.tmp", Demo.Func);
});
BI.shortcut("demo.fix_global_watcher", Demo.Fix);
}());(function () {
var State = BI.inherit(Fix.Model, {
state: function () {
return {
name: "原始属性",
info: {
age: 12,
sex: "male",
birth: {
year: 2018,
month: 9,
day: 11
}
},
career: [{
a: 1,
b: 2,
c: 3
}]
};
},
computed: {
b: function () {
return this.model.name + "-计算属性";
},
birth: function () {
return this.model.info.birth;
}
}
});
Demo.Fix = BI.inherit(BI.Widget, {
_store: function () {
return new State();
},
watch: {
b: function () {
this.button.setText(this.model.b);
},
"birth.**": function () {
console.log(123);
}
},
render: function () {
var self = this;
return {
type: "bi.vertical",
items: [{
el: {
type: "bi.button",
ref: function () {
self.button = this;
},
handler: function () {
self.model.name = "这是改变后的属性";
},
text: this.model.b
}
}, {
el: {
type: "bi.button",
ref: function () {
self.button = this;
},
handler: function () {
self.model.birth.year = 2019;
},
text: "birthYearButton"
}
}, {
el: {
type: "bi.button",
ref: function () {
self.button = this;
},
handler: function () {
self.model.career.push({
year: 2017,
month: 3,
day: 24
});
},
text: "careerAddButton"
}
}, {
el: {
type: "bi.button",
ref: function () {
self.button = this;
},
handler: function () {
self.model.career[0].a = 24;
},
text: "careerChangeButton"
}
}]
};
},
mounted: function () {
}
});
BI.shortcut("demo.fix_immutable", Demo.Fix);
}());/**
* @Author: Young
* @CreationDate 2017-11-06 10:32

8
dist/fineui.js vendored

@ -101337,11 +101337,11 @@ BI.NumberInterval = BI.inherit(BI.Single, {
cls: "number-interval-small-combo bi-border",
height: o.height - 2,
items: [{
text: "(" + BI.i18nText("BI-Less_Than") + ")",
text: "(" + BI.i18nText("BI-More_Than") + ")",
iconCls: "less-font",
value: 0
}, {
text: "(" + BI.i18nText("BI-Less_And_Equal") + ")",
text: "(" + BI.i18nText("BI-More_And_Equal") + ")",
value: 1,
iconCls: "less-equal-font"
}]
@ -113010,5 +113010,7 @@ BI.i18n = {
"BI-Font_Family": "字体",
"BI-Basic_Please_Input_Content": "请输入内容",
"BI-Word_Align_Center": "文字居中",
"BI-Basic_Please_Enter_Number_Between": "请输入{R1}-{R2}的值"
"BI-Basic_Please_Enter_Number_Between": "请输入{R1}-{R2}的值",
"BI-More_Than": "大于",
"BI-More_And_Equal": "大于等于"
};

26
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

4
dist/widget.js vendored

@ -13534,11 +13534,11 @@ BI.NumberInterval = BI.inherit(BI.Single, {
cls: "number-interval-small-combo bi-border",
height: o.height - 2,
items: [{
text: "(" + BI.i18nText("BI-Less_Than") + ")",
text: "(" + BI.i18nText("BI-More_Than") + ")",
iconCls: "less-font",
value: 0
}, {
text: "(" + BI.i18nText("BI-Less_And_Equal") + ")",
text: "(" + BI.i18nText("BI-More_And_Equal") + ")",
value: 1,
iconCls: "less-equal-font"
}]

4
public/js/index.js

@ -161,5 +161,7 @@ BI.i18n = {
"BI-Font_Family": "字体",
"BI-Basic_Please_Input_Content": "请输入内容",
"BI-Word_Align_Center": "文字居中",
"BI-Basic_Please_Enter_Number_Between": "请输入{R1}-{R2}的值"
"BI-Basic_Please_Enter_Number_Between": "请输入{R1}-{R2}的值",
"BI-More_Than": "大于",
"BI-More_And_Equal": "大于等于"
};

4
src/widget/numberinterval/numberinterval.js

@ -124,11 +124,11 @@ BI.NumberInterval = BI.inherit(BI.Single, {
cls: "number-interval-small-combo bi-border",
height: o.height - 2,
items: [{
text: "(" + BI.i18nText("BI-Less_Than") + ")",
text: "(" + BI.i18nText("BI-More_Than") + ")",
iconCls: "less-font",
value: 0
}, {
text: "(" + BI.i18nText("BI-Less_And_Equal") + ")",
text: "(" + BI.i18nText("BI-More_And_Equal") + ")",
value: 1,
iconCls: "less-equal-font"
}]

4
ui/js/index.js

@ -161,5 +161,7 @@ BI.i18n = {
"BI-Font_Family": "字体",
"BI-Basic_Please_Input_Content": "请输入内容",
"BI-Word_Align_Center": "文字居中",
"BI-Basic_Please_Enter_Number_Between": "请输入{R1}-{R2}的值"
"BI-Basic_Please_Enter_Number_Between": "请输入{R1}-{R2}的值",
"BI-More_Than": "大于",
"BI-More_And_Equal": "大于等于"
};
Loading…
Cancel
Save