Browse Source

BI-21758 && BI-21739

es6
windy 7 years ago
parent
commit
bcaa8f0716
  1. 34
      dist/_fineui.min.js
  2. 7
      dist/bundle.js
  3. 20
      dist/bundle.min.js
  4. 1
      dist/case.js
  5. 7
      dist/fineui.js
  6. 34
      dist/fineui.min.js
  7. 6
      dist/widget.js
  8. 1
      src/case/richeditor/niceditor/niceditor.js
  9. 2
      src/widget/singleslider/singleslider.js
  10. 2
      src/widget/singleslider/singleslider.label.js
  11. 2
      src/widget/singleslider/singleslider.normal.js

34
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

7
dist/bundle.js vendored

@ -83277,6 +83277,7 @@ BI.shortcut("bi.rich_editor_text_toolbar", BI.RichEditorTextToolbar);/**
disable: function () { disable: function () {
this.elm.element.attr("contentEditable", false); this.elm.element.attr("contentEditable", false);
this.elm.element.css("word-break", "break-all");
}, },
getSel: function () { getSel: function () {
@ -106590,7 +106591,7 @@ BI.SingleSlider = BI.inherit(BI.Widget, {
height: c.SLIDER_HEIGHT height: c.SLIDER_HEIGHT
}); });
sliderVertical.element.click(function (e) { sliderVertical.element.click(function (e) {
if (self.enable) { if (self.enable && self.isEnabled()) {
var offset = e.clientX - self.element.offset().left - c.SLIDER_WIDTH_HALF; var offset = e.clientX - self.element.offset().left - c.SLIDER_WIDTH_HALF;
var trackLength = self.track.element[0].scrollWidth; var trackLength = self.track.element[0].scrollWidth;
var percent = 0; var percent = 0;
@ -106920,7 +106921,7 @@ BI.SingleSliderLabel = BI.inherit(BI.Widget, {
height: c.SLIDER_HEIGHT height: c.SLIDER_HEIGHT
}); });
sliderVertical.element.click(function (e) { sliderVertical.element.click(function (e) {
if (self.enable) { if (self.enable && self.isEnabled()) {
var offset = e.clientX - self.element.offset().left - c.SLIDER_WIDTH_HALF; var offset = e.clientX - self.element.offset().left - c.SLIDER_WIDTH_HALF;
var trackLength = self.track.element[0].scrollWidth; var trackLength = self.track.element[0].scrollWidth;
var percent = 0; var percent = 0;
@ -107208,7 +107209,7 @@ BI.SingleSliderNormal = BI.inherit(BI.Widget, {
height: c.SLIDER_HEIGHT height: c.SLIDER_HEIGHT
}); });
sliderVertical.element.click(function (e) { sliderVertical.element.click(function (e) {
if (self.enable) { if (self.enable && self.isEnabled()) {
var offset = e.clientX - self.element.offset().left - c.SLIDER_WIDTH_HALF; var offset = e.clientX - self.element.offset().left - c.SLIDER_WIDTH_HALF;
var trackLength = self.track.element[0].scrollWidth; var trackLength = self.track.element[0].scrollWidth;
var percent = 0; var percent = 0;

20
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

1
dist/case.js vendored

@ -10801,6 +10801,7 @@ BI.shortcut("bi.rich_editor_text_toolbar", BI.RichEditorTextToolbar);/**
disable: function () { disable: function () {
this.elm.element.attr("contentEditable", false); this.elm.element.attr("contentEditable", false);
this.elm.element.css("word-break", "break-all");
}, },
getSel: function () { getSel: function () {

7
dist/fineui.js vendored

@ -83520,6 +83520,7 @@ BI.shortcut("bi.rich_editor_text_toolbar", BI.RichEditorTextToolbar);/**
disable: function () { disable: function () {
this.elm.element.attr("contentEditable", false); this.elm.element.attr("contentEditable", false);
this.elm.element.css("word-break", "break-all");
}, },
getSel: function () { getSel: function () {
@ -106833,7 +106834,7 @@ BI.SingleSlider = BI.inherit(BI.Widget, {
height: c.SLIDER_HEIGHT height: c.SLIDER_HEIGHT
}); });
sliderVertical.element.click(function (e) { sliderVertical.element.click(function (e) {
if (self.enable) { if (self.enable && self.isEnabled()) {
var offset = e.clientX - self.element.offset().left - c.SLIDER_WIDTH_HALF; var offset = e.clientX - self.element.offset().left - c.SLIDER_WIDTH_HALF;
var trackLength = self.track.element[0].scrollWidth; var trackLength = self.track.element[0].scrollWidth;
var percent = 0; var percent = 0;
@ -107163,7 +107164,7 @@ BI.SingleSliderLabel = BI.inherit(BI.Widget, {
height: c.SLIDER_HEIGHT height: c.SLIDER_HEIGHT
}); });
sliderVertical.element.click(function (e) { sliderVertical.element.click(function (e) {
if (self.enable) { if (self.enable && self.isEnabled()) {
var offset = e.clientX - self.element.offset().left - c.SLIDER_WIDTH_HALF; var offset = e.clientX - self.element.offset().left - c.SLIDER_WIDTH_HALF;
var trackLength = self.track.element[0].scrollWidth; var trackLength = self.track.element[0].scrollWidth;
var percent = 0; var percent = 0;
@ -107451,7 +107452,7 @@ BI.SingleSliderNormal = BI.inherit(BI.Widget, {
height: c.SLIDER_HEIGHT height: c.SLIDER_HEIGHT
}); });
sliderVertical.element.click(function (e) { sliderVertical.element.click(function (e) {
if (self.enable) { if (self.enable && self.isEnabled()) {
var offset = e.clientX - self.element.offset().left - c.SLIDER_WIDTH_HALF; var offset = e.clientX - self.element.offset().left - c.SLIDER_WIDTH_HALF;
var trackLength = self.track.element[0].scrollWidth; var trackLength = self.track.element[0].scrollWidth;
var percent = 0; var percent = 0;

34
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

6
dist/widget.js vendored

@ -19030,7 +19030,7 @@ BI.SingleSlider = BI.inherit(BI.Widget, {
height: c.SLIDER_HEIGHT height: c.SLIDER_HEIGHT
}); });
sliderVertical.element.click(function (e) { sliderVertical.element.click(function (e) {
if (self.enable) { if (self.enable && self.isEnabled()) {
var offset = e.clientX - self.element.offset().left - c.SLIDER_WIDTH_HALF; var offset = e.clientX - self.element.offset().left - c.SLIDER_WIDTH_HALF;
var trackLength = self.track.element[0].scrollWidth; var trackLength = self.track.element[0].scrollWidth;
var percent = 0; var percent = 0;
@ -19360,7 +19360,7 @@ BI.SingleSliderLabel = BI.inherit(BI.Widget, {
height: c.SLIDER_HEIGHT height: c.SLIDER_HEIGHT
}); });
sliderVertical.element.click(function (e) { sliderVertical.element.click(function (e) {
if (self.enable) { if (self.enable && self.isEnabled()) {
var offset = e.clientX - self.element.offset().left - c.SLIDER_WIDTH_HALF; var offset = e.clientX - self.element.offset().left - c.SLIDER_WIDTH_HALF;
var trackLength = self.track.element[0].scrollWidth; var trackLength = self.track.element[0].scrollWidth;
var percent = 0; var percent = 0;
@ -19648,7 +19648,7 @@ BI.SingleSliderNormal = BI.inherit(BI.Widget, {
height: c.SLIDER_HEIGHT height: c.SLIDER_HEIGHT
}); });
sliderVertical.element.click(function (e) { sliderVertical.element.click(function (e) {
if (self.enable) { if (self.enable && self.isEnabled()) {
var offset = e.clientX - self.element.offset().left - c.SLIDER_WIDTH_HALF; var offset = e.clientX - self.element.offset().left - c.SLIDER_WIDTH_HALF;
var trackLength = self.track.element[0].scrollWidth; var trackLength = self.track.element[0].scrollWidth;
var percent = 0; var percent = 0;

1
src/case/richeditor/niceditor/niceditor.js

@ -151,6 +151,7 @@
disable: function () { disable: function () {
this.elm.element.attr("contentEditable", false); this.elm.element.attr("contentEditable", false);
this.elm.element.css("word-break", "break-all");
}, },
getSel: function () { getSel: function () {

2
src/widget/singleslider/singleslider.js

@ -51,7 +51,7 @@ BI.SingleSlider = BI.inherit(BI.Widget, {
height: c.SLIDER_HEIGHT height: c.SLIDER_HEIGHT
}); });
sliderVertical.element.click(function (e) { sliderVertical.element.click(function (e) {
if (self.enable) { if (self.enable && self.isEnabled()) {
var offset = e.clientX - self.element.offset().left - c.SLIDER_WIDTH_HALF; var offset = e.clientX - self.element.offset().left - c.SLIDER_WIDTH_HALF;
var trackLength = self.track.element[0].scrollWidth; var trackLength = self.track.element[0].scrollWidth;
var percent = 0; var percent = 0;

2
src/widget/singleslider/singleslider.label.js

@ -52,7 +52,7 @@ BI.SingleSliderLabel = BI.inherit(BI.Widget, {
height: c.SLIDER_HEIGHT height: c.SLIDER_HEIGHT
}); });
sliderVertical.element.click(function (e) { sliderVertical.element.click(function (e) {
if (self.enable) { if (self.enable && self.isEnabled()) {
var offset = e.clientX - self.element.offset().left - c.SLIDER_WIDTH_HALF; var offset = e.clientX - self.element.offset().left - c.SLIDER_WIDTH_HALF;
var trackLength = self.track.element[0].scrollWidth; var trackLength = self.track.element[0].scrollWidth;
var percent = 0; var percent = 0;

2
src/widget/singleslider/singleslider.normal.js

@ -40,7 +40,7 @@ BI.SingleSliderNormal = BI.inherit(BI.Widget, {
height: c.SLIDER_HEIGHT height: c.SLIDER_HEIGHT
}); });
sliderVertical.element.click(function (e) { sliderVertical.element.click(function (e) {
if (self.enable) { if (self.enable && self.isEnabled()) {
var offset = e.clientX - self.element.offset().left - c.SLIDER_WIDTH_HALF; var offset = e.clientX - self.element.offset().left - c.SLIDER_WIDTH_HALF;
var trackLength = self.track.element[0].scrollWidth; var trackLength = self.track.element[0].scrollWidth;
var percent = 0; var percent = 0;

Loading…
Cancel
Save