guy 6 years ago
parent
commit
cddaf340a9
  1. 16
      dist/bundle.js
  2. 40
      dist/bundle.min.js
  3. 16
      dist/case.js
  4. 16
      dist/fineui.js
  5. 40
      dist/fineui.min.js
  6. 3
      src/case/colorchooser/colorchooser.popup.js
  7. 4
      src/case/richeditor/bar/action.richeditor.js
  8. 9
      src/case/richeditor/plugins/combo.colorchooser.js

16
dist/bundle.js vendored

@ -73775,6 +73775,9 @@ BI.ColorChooserPopup = BI.inherit(BI.Widget, {
height: 20
}]
});
if (BI.isNotNull(o.value)) {
this.setValue(o.value);
}
},
setStoreColors: function (colors) {
@ -79809,6 +79812,10 @@ BI.RichEditorAction = BI.inherit(BI.Widget, {
}
if (this.options.css) {
for (var itm in this.options.css) {
if (this.options.css[itm] == null) {
this.activate($(elm).css(itm));
return true;
}
if ($(elm).css(itm) == this.options.css[itm]) {
this.activate();
return true;
@ -80770,7 +80777,8 @@ BI.RichEditorColorChooser = BI.inherit(BI.RichEditorAction, {
return BI.extend(BI.RichEditorColorChooser.superclass._defaultConfig.apply(this, arguments), {
width: 20,
height: 20,
command: "foreColor"
command: "foreColor",
css: {color: null}
});
},
@ -80795,11 +80803,15 @@ BI.RichEditorColorChooser = BI.inherit(BI.RichEditorAction, {
},
hideIf: function (e) {
if(!this.colorchooser.element.find(e.target).length > 0) {
if (!this.colorchooser.element.find(e.target).length > 0) {
this.colorchooser.hideView();
}
},
activate: function (rgb) {
this.colorchooser.setValue(BI.DOM.rgb2hex(rgb));
},
deactivate: function () {
this.colorchooser.setValue("");
}

40
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

16
dist/case.js vendored

@ -3850,6 +3850,9 @@ BI.ColorChooserPopup = BI.inherit(BI.Widget, {
height: 20
}]
});
if (BI.isNotNull(o.value)) {
this.setValue(o.value);
}
},
setStoreColors: function (colors) {
@ -9884,6 +9887,10 @@ BI.RichEditorAction = BI.inherit(BI.Widget, {
}
if (this.options.css) {
for (var itm in this.options.css) {
if (this.options.css[itm] == null) {
this.activate($(elm).css(itm));
return true;
}
if ($(elm).css(itm) == this.options.css[itm]) {
this.activate();
return true;
@ -10845,7 +10852,8 @@ BI.RichEditorColorChooser = BI.inherit(BI.RichEditorAction, {
return BI.extend(BI.RichEditorColorChooser.superclass._defaultConfig.apply(this, arguments), {
width: 20,
height: 20,
command: "foreColor"
command: "foreColor",
css: {color: null}
});
},
@ -10870,11 +10878,15 @@ BI.RichEditorColorChooser = BI.inherit(BI.RichEditorAction, {
},
hideIf: function (e) {
if(!this.colorchooser.element.find(e.target).length > 0) {
if (!this.colorchooser.element.find(e.target).length > 0) {
this.colorchooser.hideView();
}
},
activate: function (rgb) {
this.colorchooser.setValue(BI.DOM.rgb2hex(rgb));
},
deactivate: function () {
this.colorchooser.setValue("");
}

16
dist/fineui.js vendored

@ -75539,6 +75539,9 @@ BI.ColorChooserPopup = BI.inherit(BI.Widget, {
height: 20
}]
});
if (BI.isNotNull(o.value)) {
this.setValue(o.value);
}
},
setStoreColors: function (colors) {
@ -81573,6 +81576,10 @@ BI.RichEditorAction = BI.inherit(BI.Widget, {
}
if (this.options.css) {
for (var itm in this.options.css) {
if (this.options.css[itm] == null) {
this.activate($(elm).css(itm));
return true;
}
if ($(elm).css(itm) == this.options.css[itm]) {
this.activate();
return true;
@ -82534,7 +82541,8 @@ BI.RichEditorColorChooser = BI.inherit(BI.RichEditorAction, {
return BI.extend(BI.RichEditorColorChooser.superclass._defaultConfig.apply(this, arguments), {
width: 20,
height: 20,
command: "foreColor"
command: "foreColor",
css: {color: null}
});
},
@ -82559,11 +82567,15 @@ BI.RichEditorColorChooser = BI.inherit(BI.RichEditorAction, {
},
hideIf: function (e) {
if(!this.colorchooser.element.find(e.target).length > 0) {
if (!this.colorchooser.element.find(e.target).length > 0) {
this.colorchooser.hideView();
}
},
activate: function (rgb) {
this.colorchooser.setValue(BI.DOM.rgb2hex(rgb));
},
deactivate: function () {
this.colorchooser.setValue("");
}

40
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

3
src/case/colorchooser/colorchooser.popup.js

@ -164,6 +164,9 @@ BI.ColorChooserPopup = BI.inherit(BI.Widget, {
height: 20
}]
});
if (BI.isNotNull(o.value)) {
this.setValue(o.value);
}
},
setStoreColors: function (colors) {

4
src/case/richeditor/bar/action.richeditor.js

@ -44,6 +44,10 @@ BI.RichEditorAction = BI.inherit(BI.Widget, {
}
if (this.options.css) {
for (var itm in this.options.css) {
if (this.options.css[itm] == null) {
this.activate($(elm).css(itm));
return true;
}
if ($(elm).css(itm) == this.options.css[itm]) {
this.activate();
return true;

9
src/case/richeditor/plugins/combo.colorchooser.js

@ -10,7 +10,8 @@ BI.RichEditorColorChooser = BI.inherit(BI.RichEditorAction, {
return BI.extend(BI.RichEditorColorChooser.superclass._defaultConfig.apply(this, arguments), {
width: 20,
height: 20,
command: "foreColor"
command: "foreColor",
css: {color: null}
});
},
@ -35,11 +36,15 @@ BI.RichEditorColorChooser = BI.inherit(BI.RichEditorAction, {
},
hideIf: function (e) {
if(!this.colorchooser.element.find(e.target).length > 0) {
if (!this.colorchooser.element.find(e.target).length > 0) {
this.colorchooser.hideView();
}
},
activate: function (rgb) {
this.colorchooser.setValue(BI.DOM.rgb2hex(rgb));
},
deactivate: function () {
this.colorchooser.setValue("");
}

Loading…
Cancel
Save