Browse Source

无JIRA任务 feat:label支持highLight属性

es6
dailer 5 years ago
parent
commit
b9208df5c4
  1. 12
      dist/base.js
  2. 12
      dist/bundle.ie.js
  3. 24
      dist/bundle.ie.min.js
  4. 12
      dist/bundle.js
  5. 2
      dist/bundle.min.css
  6. 30
      dist/bundle.min.js
  7. 12
      dist/fineui.ie.js
  8. 24
      dist/fineui.ie.min.js
  9. 12
      dist/fineui.js
  10. 2
      dist/fineui.min.css
  11. 30
      dist/fineui.min.js
  12. 12
      dist/fineui_without_jquery_polyfill.js
  13. 2
      dist/utils.min.js
  14. 6
      src/base/single/label/label.js
  15. 6
      src/base/single/text.js
  16. 11
      src/css/resource/font.css

12
dist/base.js vendored

@ -546,7 +546,8 @@ BI.Text = BI.inherit(BI.Single, {
tgap: 0,
bgap: 0,
text: "",
py: ""
py: "",
highLight: false
});
},
@ -611,6 +612,9 @@ BI.Text = BI.inherit(BI.Single, {
if (BI.isKey(o.keyword)) {
this.text.element.__textKeywordMarked__(o.text, o.keyword, o.py);
}
if (o.highLight) {
this.doHighLight();
}
},
doRedMark: function (keyword) {
@ -10945,7 +10949,8 @@ BI.Label = BI.inherit(BI.Single, {
bgap: 0,
text: "",
py: "",
keyword: ""
keyword: "",
highLight: false
});
},
@ -10959,7 +10964,8 @@ BI.Label = BI.inherit(BI.Single, {
text: o.text,
value: o.value,
py: o.py,
keyword: o.keyword
keyword: o.keyword,
highLight: o.highLight
};
},

12
dist/bundle.ie.js vendored

@ -35621,7 +35621,8 @@ BI.Text = BI.inherit(BI.Single, {
tgap: 0,
bgap: 0,
text: "",
py: ""
py: "",
highLight: false
});
},
@ -35686,6 +35687,9 @@ BI.Text = BI.inherit(BI.Single, {
if (BI.isKey(o.keyword)) {
this.text.element.__textKeywordMarked__(o.text, o.keyword, o.py);
}
if (o.highLight) {
this.doHighLight();
}
},
doRedMark: function (keyword) {
@ -46020,7 +46024,8 @@ BI.Label = BI.inherit(BI.Single, {
bgap: 0,
text: "",
py: "",
keyword: ""
keyword: "",
highLight: false
});
},
@ -46034,7 +46039,8 @@ BI.Label = BI.inherit(BI.Single, {
text: o.text,
value: o.value,
py: o.py,
keyword: o.keyword
keyword: o.keyword,
highLight: o.highLight
};
},

24
dist/bundle.ie.min.js vendored

File diff suppressed because one or more lines are too long

12
dist/bundle.js vendored

@ -36025,7 +36025,8 @@ BI.Text = BI.inherit(BI.Single, {
tgap: 0,
bgap: 0,
text: "",
py: ""
py: "",
highLight: false
});
},
@ -36090,6 +36091,9 @@ BI.Text = BI.inherit(BI.Single, {
if (BI.isKey(o.keyword)) {
this.text.element.__textKeywordMarked__(o.text, o.keyword, o.py);
}
if (o.highLight) {
this.doHighLight();
}
},
doRedMark: function (keyword) {
@ -46424,7 +46428,8 @@ BI.Label = BI.inherit(BI.Single, {
bgap: 0,
text: "",
py: "",
keyword: ""
keyword: "",
highLight: false
});
},
@ -46438,7 +46443,8 @@ BI.Label = BI.inherit(BI.Single, {
text: o.text,
value: o.value,
py: o.py,
keyword: o.keyword
keyword: o.keyword,
highLight: o.highLight
};
},

2
dist/bundle.min.css vendored

File diff suppressed because one or more lines are too long

30
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

12
dist/fineui.ie.js vendored

@ -35866,7 +35866,8 @@ BI.Text = BI.inherit(BI.Single, {
tgap: 0,
bgap: 0,
text: "",
py: ""
py: "",
highLight: false
});
},
@ -35931,6 +35932,9 @@ BI.Text = BI.inherit(BI.Single, {
if (BI.isKey(o.keyword)) {
this.text.element.__textKeywordMarked__(o.text, o.keyword, o.py);
}
if (o.highLight) {
this.doHighLight();
}
},
doRedMark: function (keyword) {
@ -46265,7 +46269,8 @@ BI.Label = BI.inherit(BI.Single, {
bgap: 0,
text: "",
py: "",
keyword: ""
keyword: "",
highLight: false
});
},
@ -46279,7 +46284,8 @@ BI.Label = BI.inherit(BI.Single, {
text: o.text,
value: o.value,
py: o.py,
keyword: o.keyword
keyword: o.keyword,
highLight: o.highLight
};
},

24
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

12
dist/fineui.js vendored

@ -36270,7 +36270,8 @@ BI.Text = BI.inherit(BI.Single, {
tgap: 0,
bgap: 0,
text: "",
py: ""
py: "",
highLight: false
});
},
@ -36335,6 +36336,9 @@ BI.Text = BI.inherit(BI.Single, {
if (BI.isKey(o.keyword)) {
this.text.element.__textKeywordMarked__(o.text, o.keyword, o.py);
}
if (o.highLight) {
this.doHighLight();
}
},
doRedMark: function (keyword) {
@ -46669,7 +46673,8 @@ BI.Label = BI.inherit(BI.Single, {
bgap: 0,
text: "",
py: "",
keyword: ""
keyword: "",
highLight: false
});
},
@ -46683,7 +46688,8 @@ BI.Label = BI.inherit(BI.Single, {
text: o.text,
value: o.value,
py: o.py,
keyword: o.keyword
keyword: o.keyword,
highLight: o.highLight
};
},

2
dist/fineui.min.css vendored

File diff suppressed because one or more lines are too long

30
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

12
dist/fineui_without_jquery_polyfill.js vendored

@ -24750,7 +24750,8 @@ BI.Text = BI.inherit(BI.Single, {
tgap: 0,
bgap: 0,
text: "",
py: ""
py: "",
highLight: false
});
},
@ -24815,6 +24816,9 @@ BI.Text = BI.inherit(BI.Single, {
if (BI.isKey(o.keyword)) {
this.text.element.__textKeywordMarked__(o.text, o.keyword, o.py);
}
if (o.highLight) {
this.doHighLight();
}
},
doRedMark: function (keyword) {
@ -33615,7 +33619,8 @@ BI.Label = BI.inherit(BI.Single, {
bgap: 0,
text: "",
py: "",
keyword: ""
keyword: "",
highLight: false
});
},
@ -33629,7 +33634,8 @@ BI.Label = BI.inherit(BI.Single, {
text: o.text,
value: o.value,
py: o.py,
keyword: o.keyword
keyword: o.keyword,
highLight: o.highLight
};
},

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

6
src/base/single/label/label.js

@ -20,7 +20,8 @@ BI.Label = BI.inherit(BI.Single, {
bgap: 0,
text: "",
py: "",
keyword: ""
keyword: "",
highLight: false
});
},
@ -34,7 +35,8 @@ BI.Label = BI.inherit(BI.Single, {
text: o.text,
value: o.value,
py: o.py,
keyword: o.keyword
keyword: o.keyword,
highLight: o.highLight
};
},

6
src/base/single/text.js

@ -19,7 +19,8 @@ BI.Text = BI.inherit(BI.Single, {
tgap: 0,
bgap: 0,
text: "",
py: ""
py: "",
highLight: false
});
},
@ -84,6 +85,9 @@ BI.Text = BI.inherit(BI.Single, {
if (BI.isKey(o.keyword)) {
this.text.element.__textKeywordMarked__(o.text, o.keyword, o.py);
}
if (o.highLight) {
this.doHighLight();
}
},
doRedMark: function (keyword) {

11
src/css/resource/font.css

@ -140,6 +140,17 @@
content: "\e733";
color: inherit;
}
.time-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}
.time-font .b-font:before {
content: "\e6b1";
color: inherit;
}
.time-font.disabled .b-font:before {
content: "\e6b1";
color: inherit;
}
.date-change-h-font .b-font {
*zoom: expression( this.runtimeStyle['zoom'] = '1',this.innerHTML = '');
}

Loading…
Cancel
Save