guy 6 years ago
parent
commit
cddaf340a9
  1. 14
      dist/bundle.js
  2. 40
      dist/bundle.min.js
  3. 14
      dist/case.js
  4. 14
      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. 7
      src/case/richeditor/plugins/combo.colorchooser.js

14
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}
});
},
@ -80800,6 +80808,10 @@ BI.RichEditorColorChooser = BI.inherit(BI.RichEditorAction, {
}
},
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

14
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}
});
},
@ -10875,6 +10883,10 @@ BI.RichEditorColorChooser = BI.inherit(BI.RichEditorAction, {
}
},
activate: function (rgb) {
this.colorchooser.setValue(BI.DOM.rgb2hex(rgb));
},
deactivate: function () {
this.colorchooser.setValue("");
}

14
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}
});
},
@ -82564,6 +82572,10 @@ BI.RichEditorColorChooser = BI.inherit(BI.RichEditorAction, {
}
},
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;

7
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}
});
},
@ -40,6 +41,10 @@ BI.RichEditorColorChooser = BI.inherit(BI.RichEditorAction, {
}
},
activate: function (rgb) {
this.colorchooser.setValue(BI.DOM.rgb2hex(rgb));
},
deactivate: function () {
this.colorchooser.setValue("");
}

Loading…
Cancel
Save