Browse Source

Merge branch 'master' of ssh://code.fineres.com:7999/~dailer/fineui

es6
dailer 3 years ago
parent
commit
8038552ddc
  1. 2
      package.json
  2. 2
      src/case/checkbox/check.arrownode.js
  3. 5
      src/case/checkbox/check.checkingmarknode.js

2
package.json

@ -1,6 +1,6 @@
{ {
"name": "fineui", "name": "fineui",
"version": "2.0.20211216112316", "version": "2.0.20211217095307",
"description": "fineui", "description": "fineui",
"main": "dist/fineui.min.js", "main": "dist/fineui.min.js",
"types": "dist/lib/index.d.ts", "types": "dist/lib/index.d.ts",

2
src/case/checkbox/check.arrownode.js

@ -5,7 +5,7 @@
BI.ArrowTreeGroupNodeCheckbox = BI.inherit(BI.IconButton, { BI.ArrowTreeGroupNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.ArrowTreeGroupNodeCheckbox.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.ArrowTreeGroupNodeCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "bi-arrow-group-node-checkbox" extraCls: "bi-arrow-group-node-checkbox expander-right-font"
}); });
}, },

5
src/case/checkbox/check.checkingmarknode.js

@ -6,14 +6,9 @@
BI.CheckingMarkNode = BI.inherit(BI.IconButton, { BI.CheckingMarkNode = BI.inherit(BI.IconButton, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend( BI.CheckingMarkNode.superclass._defaultConfig.apply(this, arguments), { return BI.extend( BI.CheckingMarkNode.superclass._defaultConfig.apply(this, arguments), {
extraCls: "check-mark-font"
}); });
}, },
_init: function () {
BI.CheckingMarkNode.superclass._init.apply(this, arguments);
this.setSelected(this.options.selected);
},
setSelected: function (v) { setSelected: function (v) {
BI.CheckingMarkNode.superclass.setSelected.apply(this, arguments); BI.CheckingMarkNode.superclass.setSelected.apply(this, arguments);
if(v === true) { if(v === true) {

Loading…
Cancel
Save