Browse Source

Merge pull request #96 in ~GUY/fineui from ~YOUNG/fineuig:master to master

* commit '2605cbd61ca1ad3b12b9995ff26535c317fb644e':
  样式&sign inital editor title
master
Young 7 years ago
parent
commit
d5e84086ac
  1. 10
      bi/case.js
  2. 2
      bi/widget.js
  3. 10
      docs/case.js
  4. 2
      docs/widget.js
  5. 10
      src/case/editor/editor.sign.initial.js
  6. 2
      src/widget/filemanager/nav/button/button.nav.filemanager.js

10
bi/case.js

@ -6946,6 +6946,8 @@ BI.SignInitialEditor = BI.inherit(BI.Widget, {
value: o.value || o.text, value: o.value || o.text,
validationChecker: o.validationChecker, validationChecker: o.validationChecker,
quitChecker: o.quitChecker, quitChecker: o.quitChecker,
title: o.title,
warningTitle: o.warningTitle,
mouseOut: o.mouseOut, mouseOut: o.mouseOut,
allowBlank: o.allowBlank, allowBlank: o.allowBlank,
watermark: o.watermark, watermark: o.watermark,
@ -7018,6 +7020,14 @@ BI.SignInitialEditor = BI.inherit(BI.Widget, {
return this.editor.isValid(); return this.editor.isValid();
}, },
setTitle: function (title) {
this.editor.setTitle(title);
},
setWarningTitle: function (title) {
this.editor.setWarningTitle(title);
},
setErrorText: function (text) { setErrorText: function (text) {
this.editor.setErrorText(text); this.editor.setErrorText(text);
}, },

2
bi/widget.js

@ -5306,7 +5306,7 @@ BI.FileManagerNavButton = BI.inherit(BI.Widget, {
_const: { _const: {
normal_color: "#ffffff", normal_color: "#ffffff",
select_color: "#f4f4f4" select_color: "#eff1f4"
}, },
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.FileManagerNavButton.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.FileManagerNavButton.superclass._defaultConfig.apply(this, arguments), {

10
docs/case.js

@ -6946,6 +6946,8 @@ BI.SignInitialEditor = BI.inherit(BI.Widget, {
value: o.value || o.text, value: o.value || o.text,
validationChecker: o.validationChecker, validationChecker: o.validationChecker,
quitChecker: o.quitChecker, quitChecker: o.quitChecker,
title: o.title,
warningTitle: o.warningTitle,
mouseOut: o.mouseOut, mouseOut: o.mouseOut,
allowBlank: o.allowBlank, allowBlank: o.allowBlank,
watermark: o.watermark, watermark: o.watermark,
@ -7018,6 +7020,14 @@ BI.SignInitialEditor = BI.inherit(BI.Widget, {
return this.editor.isValid(); return this.editor.isValid();
}, },
setTitle: function (title) {
this.editor.setTitle(title);
},
setWarningTitle: function (title) {
this.editor.setWarningTitle(title);
},
setErrorText: function (text) { setErrorText: function (text) {
this.editor.setErrorText(text); this.editor.setErrorText(text);
}, },

2
docs/widget.js

@ -5306,7 +5306,7 @@ BI.FileManagerNavButton = BI.inherit(BI.Widget, {
_const: { _const: {
normal_color: "#ffffff", normal_color: "#ffffff",
select_color: "#f4f4f4" select_color: "#eff1f4"
}, },
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.FileManagerNavButton.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.FileManagerNavButton.superclass._defaultConfig.apply(this, arguments), {

10
src/case/editor/editor.sign.initial.js

@ -42,6 +42,8 @@ BI.SignInitialEditor = BI.inherit(BI.Widget, {
value: o.value || o.text, value: o.value || o.text,
validationChecker: o.validationChecker, validationChecker: o.validationChecker,
quitChecker: o.quitChecker, quitChecker: o.quitChecker,
title: o.title,
warningTitle: o.warningTitle,
mouseOut: o.mouseOut, mouseOut: o.mouseOut,
allowBlank: o.allowBlank, allowBlank: o.allowBlank,
watermark: o.watermark, watermark: o.watermark,
@ -114,6 +116,14 @@ BI.SignInitialEditor = BI.inherit(BI.Widget, {
return this.editor.isValid(); return this.editor.isValid();
}, },
setTitle: function (title) {
this.editor.setTitle(title);
},
setWarningTitle: function (title) {
this.editor.setWarningTitle(title);
},
setErrorText: function (text) { setErrorText: function (text) {
this.editor.setErrorText(text); this.editor.setErrorText(text);
}, },

2
src/widget/filemanager/nav/button/button.nav.filemanager.js

@ -9,7 +9,7 @@ BI.FileManagerNavButton = BI.inherit(BI.Widget, {
_const: { _const: {
normal_color: "#ffffff", normal_color: "#ffffff",
select_color: "#f4f4f4" select_color: "#eff1f4"
}, },
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.FileManagerNavButton.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.FileManagerNavButton.superclass._defaultConfig.apply(this, arguments), {

Loading…
Cancel
Save