Browse Source

去多余的attributes

es6
windy 4 years ago
parent
commit
4667993af1
  1. 3
      src/case/colorchooser/colorchooser.js
  2. 3
      src/case/combo/icontextvaluecombo/combo.icontextvalue.js
  3. 3
      src/case/combo/textvaluecheckcombo/combo.textvaluecheck.js
  4. 3
      src/case/combo/textvaluecombo/combo.textvalue.js
  5. 6
      src/widget/dynamicdate/dynamicdate.combo.js
  6. 3
      src/widget/dynamicdatetime/dynamicdatetime.combo.js
  7. 3
      src/widget/multilayerselecttree/multilayerselecttree.combo.js
  8. 3
      src/widget/multilayersingletree/multilayersingletree.combo.js
  9. 3
      src/widget/multiselect/multiselect.combo.js
  10. 3
      src/widget/multiselect/multiselect.combo.nobar.js
  11. 3
      src/widget/multiselect/multiselect.insert.combo.js
  12. 3
      src/widget/multiselect/multiselect.insert.combo.nobar.js
  13. 3
      src/widget/multitree/multi.tree.combo.js
  14. 3
      src/widget/multitree/multi.tree.insert.combo.js
  15. 3
      src/widget/multitree/multi.tree.list.combo.js
  16. 3
      src/widget/selecttree/selecttree.combo.js
  17. 3
      src/widget/singleselect/singleselect.combo.js
  18. 3
      src/widget/singleselect/singleselect.insert.combo.js
  19. 3
      src/widget/singletree/singletree.combo.js
  20. 3
      src/widget/textvaluedownlistcombo/combo.textvaluedownlist.js
  21. 17
      src/widget/time/time.combo.js

3
src/case/colorchooser/colorchooser.js

@ -13,9 +13,6 @@ BI.ColorChooser = BI.inherit(BI.Widget, {
value: "",
height: 24,
el: {},
attributes: {
tabIndex: 0
}
});
},

3
src/case/combo/icontextvaluecombo/combo.icontextvalue.js

@ -10,9 +10,6 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
iconHeight: null,
iconWidth: null,
value: "",
attributes: {
tabIndex: 0
}
});
},

3
src/case/combo/textvaluecheckcombo/combo.textvaluecheck.js

@ -11,9 +11,6 @@ BI.TextValueCheckCombo = BI.inherit(BI.Widget, {
height: 24,
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE,
value: "",
attributes: {
tabIndex: 0
}
});
},

3
src/case/combo/textvaluecombo/combo.textvalue.js

@ -12,9 +12,6 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
chooseType: BI.ButtonGroup.CHOOSE_TYPE_SINGLE,
text: "",
value: "",
attributes: {
tabIndex: 0
}
});
},

6
src/widget/dynamicdate/dynamicdate.combo.js

@ -7,16 +7,13 @@ BI.DynamicDateCombo = BI.inherit(BI.Single, {
},
props: {
baseCls: "bi-dynamic-date-combo bi-border bi-focus-shadow bi-border-radius",
baseCls: "bi-dynamic-date-combo",
height: 24,
minDate: "1900-01-01",
maxDate: "2099-12-31",
format: "",
allowEdit: true,
supportDynamic: true,
attributes: {
tabIndex: 0
}
},
_init: function () {
@ -48,6 +45,7 @@ BI.DynamicDateCombo = BI.inherit(BI.Single, {
items: [{
el: {
type: "bi.combo",
cls: "bi-border bi-focus-shadow bi-border-radius",
container: opts.container,
ref: function () {
self.combo = this;

3
src/widget/dynamicdatetime/dynamicdatetime.combo.js

@ -7,7 +7,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, {
},
props: {
baseCls: "bi-dynamic-date-combo bi-border bi-focus-shadow bi-border-radius",
baseCls: "bi-dynamic-date-combo",
height: 24,
minDate: "1900-01-01",
maxDate: "2099-12-31",
@ -45,6 +45,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, {
items: [{
el: {
type: "bi.combo",
cls: "bi-border bi-focus-shadow bi-border-radius",
destroyWhenHide: true,
container: opts.container,
ref: function () {

3
src/widget/multilayerselecttree/multilayerselecttree.combo.js

@ -13,9 +13,6 @@ BI.MultiLayerSelectTreeCombo = BI.inherit(BI.Widget, {
itemsCreator: BI.emptyFn,
items: [],
value: "",
attributes: {
tabIndex: 0
},
allowEdit: false,
allowSearchValue: false,
allowInsertValue: false,

3
src/widget/multilayersingletree/multilayersingletree.combo.js

@ -16,9 +16,6 @@ BI.MultiLayerSingleTreeCombo = BI.inherit(BI.Widget, {
itemsCreator: BI.emptyFn,
items: [],
value: "",
attributes: {
tabIndex: 0
},
allowEdit: false,
allowSearchValue: false,
allowInsertValue: false,

3
src/widget/multiselect/multiselect.combo.js

@ -12,9 +12,6 @@ BI.MultiSelectCombo = BI.inherit(BI.Single, {
valueFormatter: BI.emptyFn,
itemHeight: 24,
height: 24,
attributes: {
tabIndex: 0
},
allowEdit: true
});
},

3
src/widget/multiselect/multiselect.combo.nobar.js

@ -12,9 +12,6 @@ BI.MultiSelectNoBarCombo = BI.inherit(BI.Single, {
valueFormatter: BI.emptyFn,
itemHeight: 24,
height: 24,
attributes: {
tabIndex: 0
}
});
},

3
src/widget/multiselect/multiselect.insert.combo.js

@ -12,9 +12,6 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, {
valueFormatter: BI.emptyFn,
height: 24,
itemHeight: 24,
attributes: {
tabIndex: 0
},
allowEdit: true
});
},

3
src/widget/multiselect/multiselect.insert.combo.nobar.js

@ -12,9 +12,6 @@ BI.MultiSelectInsertNoBarCombo = BI.inherit(BI.Single, {
valueFormatter: BI.emptyFn,
itemsHeight: 24,
height: 24,
attributes: {
tabIndex: 0
}
});
},

3
src/widget/multitree/multi.tree.combo.js

@ -23,9 +23,6 @@ BI.MultiTreeCombo = BI.inherit(BI.Single, {
height: 24,
allowEdit: true,
isNeedAdjustWidth: true,
attributes: {
tabIndex: 0
}
});
},

3
src/widget/multitree/multi.tree.insert.combo.js

@ -23,9 +23,6 @@ BI.MultiTreeInsertCombo = BI.inherit(BI.Single, {
height: 24,
allowEdit: true,
isNeedAdjustWidth: true,
attributes: {
tabIndex: 0
}
});
},

3
src/widget/multitree/multi.tree.list.combo.js

@ -24,9 +24,6 @@ BI.MultiTreeListCombo = BI.inherit(BI.Single, {
allowEdit: true,
allowInsertValue: true,
isNeedAdjustWidth: true,
attributes: {
tabIndex: 0
}
});
},

3
src/widget/selecttree/selecttree.combo.js

@ -11,9 +11,6 @@ BI.SelectTreeCombo = BI.inherit(BI.Widget, {
text: "",
items: [],
value: "",
attributes: {
tabIndex: 0
}
});
},

3
src/widget/singleselect/singleselect.combo.js

@ -12,9 +12,6 @@ BI.SingleSelectCombo = BI.inherit(BI.Single, {
itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn,
height: 24,
attributes: {
tabIndex: 0
},
allowEdit: true
});
},

3
src/widget/singleselect/singleselect.insert.combo.js

@ -12,9 +12,6 @@ BI.SingleSelectInsertCombo = BI.inherit(BI.Single, {
itemsCreator: BI.emptyFn,
valueFormatter: BI.emptyFn,
height: 24,
attributes: {
tabIndex: 0
},
allowEdit: true
});
},

3
src/widget/singletree/singletree.combo.js

@ -12,9 +12,6 @@ BI.SingleTreeCombo = BI.inherit(BI.Widget, {
text: "",
items: [],
value: "",
attributes: {
tabIndex: 0
}
});
},

3
src/widget/textvaluedownlistcombo/combo.textvaluedownlist.js

@ -7,9 +7,6 @@ BI.TextValueDownListCombo = BI.inherit(BI.Widget, {
return BI.extend(BI.TextValueDownListCombo.superclass._defaultConfig.apply(this, arguments), {
baseCls: "bi-text-value-down-list-combo bi-border bi-focus-shadow",
height: 24,
attributes: {
tabIndex: 0
}
});
},

17
src/widget/time/time.combo.js

@ -13,14 +13,16 @@
border: 1
},
props: {
baseCls: "bi-time-combo bi-border bi-border-radius bi-focus-shadow",
// width: 78,
// height: 22,
baseCls: "bi-time-combo",
height: 24,
format: "",
allowEdit: false,
attributes: {
tabIndex: 0
}
},
_init: function () {
var o = this.options;
o.height -= 2;
BI.TimeCombo.superclass._init.apply(this, arguments);
},
render: function () {
@ -62,6 +64,7 @@
items: [{
el: {
type: "bi.combo",
cls: "bi-border bi-border-radius bi-focus-shadow",
container: opts.container,
toggle: false,
isNeedAdjustHeight: false,
@ -167,7 +170,7 @@
},
top: 0,
left: 0,
right: 22,
right: 0,
bottom: 0
}, {
el: {

Loading…
Cancel
Save